PHP3 Manual | ||
---|---|---|
Prev | Next |
Floor -- round fractions down
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.
Prev | Home | Next |
Exp | Up | getrandmax |