General information
Title:
Accurate Numeric Calculation
I need to convert from one currency to another and I would like the results
to
be accurate no matter which way I calculate. I have a problem in converting
from one currency to another and back to its original value and there is
some
discrepency (Eg. $10 x ex-rate = $18.90, then
$18.90 x ex-rate = $9.99[should be $10
originally] )
where ex-rate is 99.9999 format.
I tried to get the whole value by multi it with 100 or 10000, etc...
Pls help and thanks in advance
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only