GnuCash
Contact   Instructions
Bug 793556 - CSV export/import creates unbalanced transaction for fractional price
Summary: CSV export/import creates unbalanced transaction for fractional price
Status: RESOLVED DUPLICATE of bug 782141
Alias: None
Product: GnuCash
Classification: Unclassified
Component: Import - CSV (show other bugs)
Version: 2.7.x
Hardware: Other Linux
: Normal major
Target Milestone: ---
Assignee: import
QA Contact: import
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-17 22:28 EST by David Fries
Modified: 2018-11-18 11:41 EST (History)
4 users (show)

See Also:


Attachments
exported transaction that fails to import correctly, gnucash 2.7.3 (391 bytes, text/plain)
2018-02-17 22:28 EST, David Fries
no flags Details

Description David Fries 2018-02-17 22:28:59 EST
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 Geert Janssens 2018-11-18 11:41:23 EST

*** This bug has been marked as a duplicate of bug 782141 ***

Note You need to log in before you can comment on or make changes to this bug.