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...
isladogs
MVP
@Gustav.
Thanks.That's even better.
I tried to 'Like' your reply but can't yet work out how to do so on this site
Eric
I don't believe its the cause of your issue but NUMBER is a reserved word in Access and shouldn't be used for a field name
Thanks.That's even better.
I tried to 'Like' your reply but can't yet work out how to do so on this site
Eric
I don't believe its the cause of your issue but NUMBER is a reserved word in Access and shouldn't be used for a field name
isladogs
Jul 21, 2021MVP
Success. Post successfully liked!
- Eric_1226Jul 22, 2021Copper Contributor
isladogs Thank you guys. Those were valuable recommendations. Though NUMBER was just an example. All of your simplifications would definitely get the job done but I would still very much like to figure out why my device keeps returning different result from other devices and why the LEFT function don't count decimal points as other devices do.
I have like 20 different Access and it looks like I will just have to change code for em all.