double a = 12.357;
double b = double.Parse(a.ToString("0.00"));
decimal d = 12.34m;
decimal dNew = decimal.Round(d,2);//2表示舍入到2位小数
double a = 12.357;
double b = double.Parse(a.ToString("0.00"));
decimal d = 12.34m;
decimal dNew = decimal.Round(d,2);//2表示舍入到2位小数