ceil
Modified on Tue, 22 Aug 2023
Description
Round a number up to the nearest whole number
Syntax
ceil(number)
Parameters
Input Parameter | Type | Description |
---|---|---|
number | number | The number to be rounded up |
Return value
Type |
---|
number |
Sample
Example | Result | Description |
---|---|---|
ceil(12.3) | 13 | Returns the smallest whole number that is greater than or equal to the input number |
To view all the Math and Number functions, click here.
See Also
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article