blob: 375f81caa7e4d9cc0385321a77741c3c1ad2b70a [file] [log] [blame]
SYNOPSIS
float floor(float arg)
DESCRIPTION
Round the <arg>ument downwards 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
floor(4.5) - returns 4.0
floor(-4.5) - returns -5.0
floor(5) - returns 5.0
HISTORY
Introduced in LDMud 3.2.7.
LDMud 3.2.9 added integers as argument values.
SEE ALSO
abs(E), ceil(E)