(PHP 3, PHP 4 )

floor -- Round fractions down


float floor (float value)

Returns the next lowest integer value by rounding down value if neccessary. The return value of floor() is still of type float as the value range of float is usually bigger than that of int.

See also ceil() and round().