After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 105481 - OFX : wrong amounts in some locales
OFX : wrong amounts in some locales
Status: VERIFIED FIXED
Product: GnuCash
Classification: Other
Component: Import - Other
1.8.x
Other Linux
: Normal major
: ---
Assigned To: Benoit Grégoire
Benoit Grégoire
Depends on:
Blocks:
 
 
Reported: 2003-02-07 10:16 UTC by renaud
Modified: 2018-06-29 20:27 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description renaud 2003-02-07 10:16:34 UTC
The OFX files generated by my bank use the "." character as a decimal separator. 
 
I usually run GnuCash with the fr_FR locale, whose decimal separator char is ",". 
 
When importing OFX files, GnuCash seems to be expecting the locale's decimal 
separator, and when it comes across the ".", it truncates the decimal part without a 
warning. 
 
I don't know if it's a libOFX bug, because ofxdump correctly outputs the transaction 
amounts...
Comment 1 Benoit Grégoire 2003-02-12 15:16:12 UTC
If ofxdump correctly outputs the numbers, it has to be a GnuCash bug.
 LibOfx send's the amounts to GnuCash as double, so I don't see how
the decimal separator could go wrong at that level.

I'll try to reproduce and track it down as soon as I have time.
Comment 2 Benoit Grégoire 2003-04-12 22:21:29 UTC
Fixed in libofx 0.6.4  It was a libofx bug triggered by GnuCash
setting LC_NUMERIC.
Comment 3 John Ralls 2018-06-29 20:27:49 UTC
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=105481. Please update any external references or bookmarks.