Math.ceil()函数

Math.ceil(12.2)//返回13.0
Math.ceil(12.7)//返回13.0
Math.ceil(12.0)// 返回12.0

原文地址:https://www.cnblogs.com/lixiaoping/p/6651502.html