Hi all,
I have a problem with some calculations in MS Access 2003. I have 3
fields (Qty, Price and VolumeUSD) in a form and the following formula:
VolumeUSD = Qty * Price.
Qty and VolumeUSD are formated as "Standard" and Price as "General
Number".
Example: Qty = 4,400 ; Price = 39.1602
When all 3 fields are "Single", VolumeUSD = 172,308.90 (wrong)!
BUT, when all 3 fields "Double", VolumeUSD = 172,308.88 (correct)
I have much more situations where I get errors in calculations if I use
the variables as "Single".
CAN SOMEONE EXPLAIN ME THIS ?!
In the Database I have about 4000 records! Until now the only way I can
imagine to fix this problem is to change in the Table Design all three
variables from Single to Double, but if I do this the Price will change
to 39,1601093458574357 instead of 39,1602! This means that I will have
to input again the Price for each of the 4000 records!!! This will take
a lot of time!
THERE'S ANY OTHER WAY TO FIX THIS PROBLEM IN THE DATABASE IN A MUCH
FASTER WAY ?
Urgent!!!
Thanks, Miguel Teixeira.