(PHP3 , PHP4 )
floor -- Round fractions down
Description
Returns the next lowest integer value from
number. Using floor()
on integers is absolutely a waste of time.
NOTE: PHP/FI 2's floor() returned a
float. Use: $new = (double)floor($number); to
get the old behaviour.
See also ceil() and
round().