https://bugs.kde.org/show_bug.cgi?id=365177
Bug ID: 365177 Summary: Changing investment fraction doesn't change rounding behavior Product: kmymoney4 Version: 4.8.0 Platform: Archlinux Packages OS: Linux Status: UNCONFIRMED Severity: minor Priority: NOR Component: general Assignee: kmymoney-devel@kde.org Reporter: dc46a...@gmail.com Changed the "Fraction" field on the investment details dialog from "1000" to "10000" so I could accurately record some dividend reinvestment transactions. On the ledger, the quantity is now shown with 4 decimal places, but any quantity I enter is still rounded to 3 decimal places. A workaround is to change the "Fraction", then exit and restart kmymoney before updating quantities on the ledger. Reproducible: Always Steps to Reproduce: 1.Create an investment, accept default "Fraction" of 100 2.Edit the investment and increase the "Fraction" to 1000 3.Open investment account ledger and create a transaction involving the above investment. Use a quantity with three numbers after the decimal, such as 1.123. Actual Results: The quantity on the ledger will be 1.120. Expected Results: The quantity on the ledger should be 1.123 It appears that the transaction price is correctly calculated using the unrounded quantity, causing the transaction data recorded in the ledger to be inconsistent. I.e. Quantity x Share price != Transaction price -- You are receiving this mail because: You are the assignee for the bug.