mud/lib/doc/efun/floats/floor
2020-09-06 05:43:07 -07:00

13 lines
250 B
Plaintext

floor - round a float down to the nearest integer
float floor( float f );
This efun is only available if PACKAGE_MATH is compiled in.
Returns (as a float) the nearest integer number equal to or smaller than f.
See also:
ceil,
to_int,
to_float