Type Function Library math.* Return value Number Revision Current Public Release (2018.3326) Keywords ceil, ceiling See also math.floor()
Returns the integer larger than or equal to x
.
print ( math.ceil (0.5) ) ---> 1 print ( math.ceil (-0.5) ) ---> -0 |