/// <summary> /// 四舍五入 小数点后取2位 /// </summary> /// <param name="value"></param> /// <returns></returns> public static double Round2(object value) { return(Round(TypeParse.StrToDouble(value, 0), 2)); }
/// <summary> /// 四舍五入 小数点后取4位 /// </summary> /// <param name="value"></param> /// <returns></returns> public static double Round6(string value) { return(Round(TypeParse.StrToDouble(value, 0), 6)); }
/// <summary> /// 查询的结束时间 /// </summary> /// <param name="date"></param> public static string EndDateForQuery(string date) { return(EndDateForQuery(TypeParse.StrToDateTime(date))); }