public static Double DT_HourMinConvertToHour(int tam) { if (tam == 0) { return(0); } //return T_String.IsNullTo00((tam/100)+"."+(((double)tam-((tam/100)*100))/60)); return(T_String.IsNullTo00((tam / 100) + (((double)tam - ((tam / 100) * 100)) / 60) + "")); }
public static Double GetMax0(string FieldName, string from, string where) { return(T_String.IsNullTo00(GetDataFromSQL(FieldName, from, where)) + 1); }