Perfect!  Thanks!  

On Tue, 26 Aug 2003, CPT John W. Holmes wrote:

> From: "Amanda McComb" <[EMAIL PROTECTED]>
> 
> 
> > I am having trouble finding math functions on php.net.  I am also getting
> > "page not found" errors when trying to search.
> > 
> > Basically, I'm looking for a mod or division function - something I can
> > use to tell me when a number is evening divisable by a certain number.
> 
> % is mod, / is division...
> 
> $a = 10;
> $b = 5;
> 
> if($a % $b == 0)
> { echo "evenly devisable"; }
> 
> Arithmetic Operators:
> http://us2.php.net/manual/en/language.operators.arithmetic.php
> 
> Math Functions:
> http://us2.php.net/manual/en/ref.math.php
> 
> BCMath Functions
> http://us2.php.net/manual/en/ref.bc.php
> 
> ---John Holmes...
> 
> -- 
> 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