abs(x) mod 2 has to equal zero for x to be even, a result of one signifies that x is odd.
Is there a way to test if a number is even?
Blitz3D Forums/Blitz3D Beginners Area/Is there a way to test if a number is even?The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.