Returns the smallest integer larger than or equal to a number. Alias for the standard library function math.ceil.


See also Lua library functions.

Signature:

ceiling = ceil(x)

Arguments:

  • x - A number (number)

Returns:

  • ceiling - Smallest integer larger than or equal to x (number)
This function is defined in the Lua standard libraries