is there an efs function to determine if a number is even or odd? i've checked all the utility functions and the math object already, i cant seem to find one...?
Announcement
Collapse
No announcement yet.
checking if a number is even/odd?
Collapse
X
-
Axiom
That is the Javascript modulus operator which returns the integer remainder of the division of the first operand by the second (eg 7 % 5 returns 2)
Alex
Originally posted by Axiom
well that works, thanks... and just what exactly is the "%" in the context of that function, ive never seen that before?
Comment
Comment