c#如何精确到小数点两位?

1、Math.Round(a,2)

2、a.ToString( "0.00 ");

3、Decimal   dec=0.225;
    Decimal.format(dec,2)

原文地址:https://www.cnblogs.com/jameshappy/p/2013606.html