Return the ceiling of a given number. This is the smallest integer >= the given number.
This function does not generate a change.
ceil(number)
Argument | Type | Description |
---|---|---|
number | int/float (required) | Input number |
Returns with an int or an overflow_err() when outside the range of INT_MIN
and INT_MAX
.
ceil() function example:
ceil(4.31);
Return value in JSON format
5