Important
|
Deprecated in 5.0. Please use [func-math-ceil] instead. |
ceil(input) => Integer
Round up value.
input |
Input value. |
Return
Value round up to nearest integer.
Example
>>> ceil(2.3) 3.0 >>> ceil(3.8) 4.0 >>> ceil(-2.3) -2.0 >>> ceil(-3.8) -3.0