blob: f5893f833f474477134812b98551edf7cb57f657 [file] [log] [blame]
SYNOPSIS
float ceil(int|float arg)
DESCRIPTION
Round the <arg>ument upwards the nearest whole number, returning
that value. If the <arg>ument value is an integer, the result will
be that value, converted to float.
EXAMPLES
ceil(4.5) - returns 5.0
ceil(-4.5) - returns -4.0
ceil(4) - returns 4.0
HISTORY
Introduced in LDMud 3.2.7.
LDMud 3.2.9 allowed integers as argument values.
SEE ALSO
abs(E), floor(E)