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.
Examples
Syntax
ceil(n)
Parameters
n
number to round up.
Notice any errors or typos? Please let us know. Please feel free to edit src/math/calculation.js and open a pull request!