Hi.


Just ask yourself this"



answer testNumber mod 2


If you get a "1", testnumber is odd, if a "0", even.


Craig Newman




-----Original Message-----

From: william humphrey <b...@bluewatermaritime.com>
To: How to use LiveCode <use-livecode@lists.runrev.com>
Sent: Mon, Aug 5, 2013 4:17 pm
Subject: odd and even numbers


How do you test a number to see if it is a whole odd or even number?

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

 

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to