发布网友
共3个回答
热心网友
ceil 方法
返回大于等于其数字参数的最小整数。
Math.ceil(number)
必选项number 参数是数值表达式。
热心网友
Math.round()四舍五入
Math.floor()向下取整
热心网友
Math.ceil()
向上取整