Calculates the closest integer value that is greater than or equal to a number.
For example, calling ceil(9.03) and ceil(9.97) both return the value 10.
示例
语法
ceil(n)
参数
n
Number:
number to round up.
返回值
Integer: rounded up number.
This page is generated from the comments in src/math/calculation.js . Please feel free to edit it and submit a pull request!