kedder / ofxstatement

Tool to convert proprietary bank statement to OFX format, suitable for importing to GnuCash or other personal finance applications.
GNU General Public License v3.0
270 stars 61 forks source link

Fix invest transactions unit precision #257

Closed jaik03 closed 6 months ago

jaik03 commented 6 months ago

This PR adds additional precision for OFX investment transactions. Currently it's holding two decimal places, but often units carry additional digits. Rounding at two decimal places will likely cause significant errors in asset totals.

coveralls commented 6 months ago

Coverage Status

coverage: 95.724%. remained the same when pulling 25d21d55f9b5e4598e26fc6d47e05bd8c0f65a89 on jaik03:FixInvestTransactionsUnitPrecision into 6916e58a68fd74b20b7f2f144aacd2537ef1c847 on kedder:master.