[thelist] [JS] Modulo Operator question

Tom Dell'Aringa pixelmech at yahoo.com
Mon Mar 29 14:16:01 CST 2004


I know that the modulo gives you the remainder from a division of
var1 and var2:

var Mod = var1 % var2; // would give me the remainder of this
expression

Question is - is the remainder number *always* a integer? It seems to
be wherever I see it used, but I wanted to make sure.

Thanks

Tom

=====
http://www.Pixelmech.com/ - read my latest blog posting!
http://www.DMXzone.com/ - JavaScript Author
http://SparklesParties.com - Princess parties for little girls!
http://www.thywordistruth.net/ - Eternal Life

"Well, my name's Dewey Oxburger. My friends call me Ox. I dont know if you've noticed, but I got a slight weight problem."





More information about the thelist mailing list