floor

(PHP 3, PHP 4 )

floor -- Round fractions down

Description

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().


HIVE: All information for read only. Please respect copyright!
Hosted by hive КГБ: Киевская городская библиотека