Forum Discussion
Eric_1226
Jul 19, 2021Copper Contributor
Left Function in Access Doesn't Count Decimal Point As a Character
So I am tryting to do Select Right(Left([NUMBER]*0.65-Int([NUMBER]*0.65),4),1) to get the 4th character ( so the 2nd decimal place, e.g. to return {3} from {1.234}) of this resulting number in a qu...
Gustav_Brock
Jul 21, 2021Iron Contributor
Eric_1226 : I can't replicate your issue. But, that said, always handle numbers as numbers, not text.
Thus:
Digit2 = Int([NUMBER]*0.65*100) Mod 10
Eric_1226
Jul 22, 2021Copper Contributor
Thanks. That's great stuff. I am guessing that's a MS version thing? Mine's 2016.
- Gustav_BrockJul 22, 2021Iron ContributorNo. It is a Windows setting.