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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IIF Statement needed if result is not a whole number

Status
Not open for further replies.

longbillduck

Technical User
Sep 26, 2001
29
US
Can anybody help, I’m trying to create an iif statement that would return a 1 if the number were anything but whole. For example:

1.333 = 1
9.5 = 1
3 = 0




Thanks
Art
 
yourAlias: Abs([yourField]<>Int([yourField]))

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top