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 793556 - CSV export/import creates unbalanced transaction for fractional price
CSV export/import creates unbalanced transaction for fractional price
Status: RESOLVED OBSOLETE
Product: GnuCash
Classification: Other
Component: Import - CSV
2.7.x
Other Linux
: Normal major
: ---
Assigned To: gnucash-import-maint
gnucash-import-maint
Depends on:
Blocks:
 
 
Reported: 2018-02-18 03:28 UTC by David Fries
Modified: 2018-06-30 00:04 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
exported transaction that fails to import correctly, gnucash 2.7.3 (391 bytes, text/plain)
2018-02-18 03:28 UTC, David Fries
Details

Description David Fries 2018-02-18 03:28:55 UTC
Created attachment 368511 [details]
exported transaction that fails to import correctly, gnucash 2.7.3

This is with GnuCash, 2.7.3

Create a mutual fund transaction that creates a fractional price.
Shares 10.01, Buy 100.00, Price computed and displayed as 9 + 991/1001 in the register.
Export account to CSV file (9 + 991/1001 there as well), delete the transaction, then import it again.

End result,
Shares 10.01, Buy 90.09, Price 9, with an imbalance of 9.91 added.

Edit the csv and use 9.99000999000999000999 and then it is imported correctly.
Comment 1 John Ralls 2018-06-30 00:04:36 UTC
GnuCash bug tracking has moved to a new Bugzilla host. The new URL for this bug is https://bugs.gnucash.org/show_bug.cgi?id=793556. Please continue processing the bug there and please update any external references or bookmarks.