Floor()

Calculates the closest integer that is smaller than number.

Floor( number=number );

Returns: Number

Argument Description
number
number, required

Real number to round down to an integer.

Examples

dump(floor(2.0));//2
	dump(floor(7.2));//7
	dump(floor(4.9));//4
	dump(floor(-5.7));//-6

See also