round(12.25) =12.2
round(12.35) =12.4
c#四舍五入
Decimal d= (Decimal) 12.35
d.ToString("0.0") //保留1位小数
vb.net四舍五入
format("12.35","0.0")
round(12.25) =12.2
round(12.35) =12.4
c#四舍五入
Decimal d= (Decimal) 12.35
d.ToString("0.0") //保留1位小数
vb.net四舍五入
format("12.35","0.0")