Re: math functions?

From: Date: Tue, 26 Aug 2003 15:11:52 +0000
Subject: Re: math functions?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-160772@lists.php.net to get a copy of this message
Amanda McComb wrote:
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 the mod operator in quite a few languages, and works in PHP as well. if(7%4), for example, will return true (3), while (12%6) will return false integers only, IIRC Kae

« previous php.general (#160772) next »