参考来源
向上取整
Math.Ceiling(0.1) //1
四舍五入
Math.Round(0.5,0) //0
Math.Round(0.5,1) //0.5
参考来源
Math.Ceiling(0.1) //1
Math.Round(0.5,0) //0
Math.Round(0.5,1) //0.5
相关文章: