Page 1 of 1

[SOLVED]always round a number DOWN

Posted: Sun Aug 15, 2004 6:14 pm
by vigge89
I know about the php-function round(), but I want to know if it's possible to always make it round the given number down? even if it's 2.99, i still want it to be rounded down to 2. Anyone?

Posted: Sun Aug 15, 2004 6:15 pm
by vigge89
oh, nevermind, found it, floor() :D