Seems to me you need 

floor($number1 / $number2)


Vincent

-----Original Message-----
From: Richard Davey [mailto:[EMAIL PROTECTED] 
Sent: woensdag 11 februari 2004 15:07
To: Jeremy Schroeder
Cc: [EMAIL PROTECTED]
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:[EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to