(PHP3 , PHP4 )
int floor (float number)
int floor
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().