Re: math functions?

From: Date: Tue, 26 Aug 2003 15:21:51 +0000
Subject: Re: math functions?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-160780@lists.php.net to get a copy of this message
Perfect! Thanks! On Tue, 26 Aug 2003, CPT John W. Holmes wrote: > From: "Amanda McComb" <amccomb@indiana.edu> > > > > 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 > > >

« previous php.general (#160780) next »