Better IsOdd
Tell if a number is odd in one line of code. (and if its not odd its even, but i dont have to tell you that)
API Declarations
'none
Rate Better IsOdd
(3(3 Vote))
Function IsOdd(Var as integer)
IsOdd = -(Var And 1)
End Function
Better IsOdd Comments
No comments yet — be the first to post one!
Post a Comment