Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Determine if Integer is Odd or Even

Status
Not open for further replies.

dpimental

Programmer
Jul 23, 2002
535
0
0
US
Anyone know of a function that can tell whether a number is odd or even?


David Pimental
(US, Oh)
 
iif(myNum Mod 2 = 0, "Even","Odd")


John

Use what you have,
Learn what you can,
Create what you need.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top