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
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php