Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the smallest integer that is not less than the argument.
numberceiling(number)
Parameters
- number
A number.
Return Values
Returns the smallest integer that is not less than the argument.
Remarks
The following function call returns 3.
ceiling(2.5)
The following function call returns –2.
ceiling(-2.3)
The following function call returns 4.
ceiling(4)
Requirements
None.
See Also
Send Feedback on this topic to the authors