c# 四舍五入

Math.Round(value, 2, MidpointRounding.AwayFromZero) //遇到边界值,如5时两个值取较大的那个

原文地址:https://www.cnblogs.com/zxhome/p/9391481.html