ceil - luxembourg/muxcode-clm GitHub Wiki

CEIL()

FUNCTION: ceil(<number>)

Returns the smallest integer greater than or equal to <number>. <number> may be a floating point number, and an integer result is returned.

Examples: > say ceil(5) You say, "5" > say ceil(5.2) You say, "6" > say ceil(5.8) You say, "6" > say ceil(-5) You say, "-5" > say ceil(-5.2) You say, "-5"

Related Topics: fdiv, floor, idiv, mod, round, trunc