Re: rounding...sort of

From: Date: Sat, 28 Dec 2002 09:52:42 +0000
Subject: Re: rounding...sort of
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-129494@lists.php.net to get a copy of this message
On Saturday 28 December 2002 17:49, Peter Lavender wrote: > Hi everyone, > > I have a nubmer: 4.1 but I only want the whole number 4, even if it's > 4.9, so this rules out using round (Unless I missed a parameter). > > How could I do this.. I'm drawing a blank... floor() -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* Remark of Dr. Baldwin's concerning upstarts: We don't care to eat toadstools that think they are truffles. -- Mark Twain, "Pudd'nhead Wilson's Calendar" */

« previous php.general (#129494) next »