admin
05-30-2003, 01:24 PM
A handy function which makes determining whether a number is even or odd a breeze.
A = 10
B = A MOD 2
If B = 0 then it's even
If B <> 0 then it's odd
A = 10
B = A MOD 2
If B = 0 then it's even
If B <> 0 then it's odd
View Full Version : Using MOD To Determine Even or Odd