Re: rounding down

From: Date: Fri, 26 Nov 2004 14:07:36 +0000
Subject: Re: rounding down
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-202894@lists.php.net to get a copy of this message
Brad Ciszewski wrote:
hi everyone, i am looking for a snipplet to round down a number. i was wondering if you could put a negative number in the round() statement to do this, i want it to round down even if its at something.9, as long as its not a whole number, if needs to be rounded down. can anyone help me?
floor()

« previous php.general (#202894) next »