GnuCash
Contact   Instructions
Bug 797775 - Rate/Price displayed as fractional in CSV Export
Summary: Rate/Price displayed as fractional in CSV Export
Status: RESOLVED FIXED
Alias: None
Product: GnuCash
Classification: Unclassified
Component: General (show other bugs)
Version: 3.10
Hardware: PC Linux
: Normal normal
Target Milestone: ---
Assignee: general
QA Contact: general
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-31 17:54 EDT by Guille
Modified: 2020-06-06 06:22 EDT (History)
4 users (show)

See Also:


Attachments

Description Guille 2020-05-31 17:54:52 EDT
When exporting transactions to CSV (in this case from a Mutual fund account), the values in the Rate/Price column are displayed as fractions (e.g. 88 + 54/113).

Although numerically correct, if we consider the export functionally aimed towards the integration of data in other software,  assuming that other software will understand the fractional representation is probably a little bit optimistic (and generally wrong)

In order to maintain compatibility/functionality, a possible solution would be to add a new checkbox ("Export Rate/Price as decimal"?) to the 1st screen  of the wizard ("Choose Export Settings").
Comment 1 John Ralls 2020-05-31 19:33:27 EDT
Or make the exporter use the force prices to decimal preference (GNC_PREF_PRICES_FORCE_DECIMAL   "force-price-decimal").
Comment 2 Bob 2020-06-06 06:22:01 EDT
I have changed the CSV transaction exporter to follow the Preference setting...
'General->Force Prices to display as decimals' for the Price/Rate output. This will be in version 4.0

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