en:ceil

Ceil (Function)

Format

ceil ( numeric_expr )

returns integer_value

Description

Returns the lowest integer that is greater than or equal to expression.

Example

print ceil(9.1)
print ceil(-5.4)

will print

10
-5

See Also

en/ceil.txt · Last modified: 2014/02/08 10:54 by admin