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