Round up value.
Since: 1.2.5
Syntax
ceil(x);
Parameters
x Floating point value.
Return Value
The smallest integral value that is not less than x.
Examples
ceil(2.3) -> 3 ceil(3.8) -> 4 ceil(-2.3) -> -2 ceil(-3.8) -> -3
Round up value.
Since: 1.2.5
ceil(x);
x | Floating point value. |
The smallest integral value that is not less than x.
ceil(2.3) -> 3 ceil(3.8) -> 4 ceil(-2.3) -> -2 ceil(-3.8) -> -3