Hi,
I have a variety of [store_id] numbers that are either whole numbers or end in .9 or .1. I need to write conditional code based on whether the store ends with .9 or .0 or is whole number. So for example, w-What would the code look like to determine if the number ended in .9
Thanks!
Leesha
Code to determine if a number ends in .9
-
- BronzeLounger
- Posts: 1488
- Joined: 05 Feb 2010, 22:25
-
- 2StarLounger
- Posts: 112
- Joined: 25 Jan 2010, 20:19
Re: Code to determine if a number ends in .9
iif(Right([store_id],2) = .9,"Point_9","something else")
-
- BronzeLounger
- Posts: 1488
- Joined: 05 Feb 2010, 22:25
Re: Code to determine if a number ends in .9
Perfect!! Thank you! Leesha