jankcorn / hle-ofx-quotes

Automatically exported from code.google.com/p/hle-ofx-quotes
0 stars 1 forks source link

Conversion from GBX to GBP yield 0.000 #6

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
0.4900 GBX is becoming 0.00 GBP

Original issue reported on code.google.com by hle...@gmail.com on 19 Feb 2011 at 3:26

GoogleCodeExporter commented 9 years ago
I’ve made the change in the source tree to fix the problem you reported. 
Using your example, the UNITPRICE output is now: 0.0049 as in

<UNITPRICE>0.0049</UNITPRICE>

I’ve made a version with above change available at:
http://www.le.com/~hle/out/hleOfxQuotes/SNAPSHOT/hleOfxQuotes-SNAPSHOT_20110215_
001.jar

Others, please don’t use unless you same problem as Danny: loss of precision. 
In general, anything labeled SNAPSHOT is created straight off the HEAD of the 
source tree and may contain changes that have not been well tested.

Original comment by hle...@gmail.com on 19 Feb 2011 at 3:27

GoogleCodeExporter commented 9 years ago
User confirmed that bug is fixed.

Original comment by hle...@gmail.com on 19 Feb 2011 at 7:31

GoogleCodeExporter commented 9 years ago

Original comment by hle...@gmail.com on 26 Feb 2011 at 3:32

GoogleCodeExporter commented 9 years ago
Done.
See: https://code.google.com/p/hle-ofx-quotes/wiki/Build_20110226_001

Original comment by hle...@gmail.com on 26 Feb 2011 at 5:51