Re: Modulus

From: Date: Fri, 26 Jan 2001 22:54:42 +0000
Subject: Re: Modulus
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-36909@lists.php.net to get a copy of this message
4%2 = 0 4 div 2 equals remainder 0 2 div 4 doesnt divide so your left with the remainder equal to what you started with, 2 -- Chris Lee Mediawaveonline.com lee@mediawaveonline.com ""Mike P"" <mpeloso@ampsoft.com> wrote in message news:94qjq0$rde$1@toye.p.sourceforge.net... > I know i'm a liitle slow but why does 2%4 = 2 and not 0 or 1 > thanks > Mike > ampeloso@att.net > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#36909) next »