-
Problem with decimals in VBA code
I frequently have problems with decimals when I perform calculations with VBA.
To illustrate the problem I just ran the following:
a= 27.45
b= 27.00
c= a -b
and c is not 0.45 but 0.4499999999.
As you probably understand already, I'm just a novice at this, so I'm sure there's an easy and obvious way around this. but I'll be overjoyed if anyone can enlighten me..
Thanks in advance !
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules