Re: Easy Question (I think)

From: Date: Wed, 04 Aug 2004 03:40:28 +0000
Subject: Re: Easy Question (I think)
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-192669@lists.php.net to get a copy of this message
On Tue, 2004-08-03 at 23:25, Robert Frame wrote: > I am sure this is an obvious answer, but dang if I could find it. > > How do you chop off a decimal value in PHP? I know I can do it using a > combination of modulus, subtraction and division, but isn't there a function > that does this? I think I am suffering from a giant mental block =) floor() Cheers, Rob. -- .------------------------------------------------------------. | InterJinn Application Framework - http://www.interjinn.com | :------------------------------------------------------------: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `------------------------------------------------------------'

« previous php.general (#192669) next »