JavaScript中ceil函数是返回大于等于其数字参数的最小整数。
使用方法:
Math.ceil(number)
其中必选项number 参数是数值表达式。
ceil函数返回值为大于等于其数字参数的最小整数。
文章标签 Math 函数返回值 文章分类 JavaScript 前端开发
JavaScript中ceil函数是返回大于等于其数字参数的最小整数。
使用方法:
Math.ceil(number)
其中必选项number 参数是数值表达式。
ceil函数返回值为大于等于其数字参数的最小整数。
前端基础
JavaScript ceil() 方法
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M