The Daily Click ::. Forums ::. Klik Coding Help ::. Odd or even.
 

Post Reply  Post Oekaki 
 

Posted By Message

Aptennap



Registered
  23/04/2004
Points
  916
22nd October, 2007 at 13:09:10 -

How can i check if number is odd or even in TGF?

 
Oh sweet mary.

Joe.H

Evil Faker

Registered
  19/08/2002
Points
  3305
22nd October, 2007 at 13:22:59 -

use MOD

if x MOD 2 = 0 then it's even.

Otherwise it's odd.

 
My signature is never too big!!!

Aptennap



Registered
  23/04/2004
Points
  916
22nd October, 2007 at 13:24:02 -

Yea I just found out like a second before your post , but thanks anyway!

 
Oh sweet mary.
   

Post Reply



 



Advertisement

Worth A Click