RE: [PHP] Math Question

From: Date: Wed, 11 Feb 2004 14:15:15 +0000
Subject: RE: [PHP] Math Question
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-177382@lists.php.net to get a copy of this message
Seems to me you need floor($number1 / $number2) Vincent -----Original Message----- From: Richard Davey [mailto:rich@launchcode.co.uk] Sent: woensdag 11 februari 2004 15:07 To: Jeremy Schroeder Cc: php-general@lists.php.net Subject: Re: [PHP] Math Question Hello Jeremy, Wednesday, February 11, 2004, 2:00:32 PM, you wrote: JS> Is there a function that when you divide 2 numbers you drop the JS> remainder and are left with the whole number. round($number1 / $number2) See the manual for the precision value if you need it. -- Best regards, Richard mailto:rich@launchcode.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#177382) next »