Nice way to find if a number i…

in News | No Comments

Nice way to find if a number is odd or even using Actionscript. Replace num with a number.
var iseven = ((num & 1) == 0);
trace(iseven)

Leave a Reply

© 2012 Altair Innovative, LLC