https://bugs.kde.org/show_bug.cgi?id=453466
Bug ID: 453466 Summary: Display of currency exchange rate shouldn't be rounded Product: skrooge Version: unspecified Platform: Other OS: Linux Status: REPORTED Severity: minor Priority: NOR Component: general Assignee: guillaume.deb...@gmail.com Reporter: alex....@tutanota.com CC: steph...@mankowski.fr Target Milestone: --- Created attachment 148606 --> https://bugs.kde.org/attachment.cgi?id=148606&action=edit Screenshot of the display rounding problem SUMMARY *** In the Unit module, if you input currency exchange rate with more than 2 decimals, it will save it in the system as what you input but after saved, it will round the exchange rate to the number of decimal configured in the system. Example: if you input exchange rate of EUR/USD as 1.0567 - it will save in the system 1.0567 and use that value for calculation - it will display the rate as 1.06 (following USD number of decimal) This is very misleading because the system actually saves the actual value you input but it's telling you it's saving something else. One way to confirm this is only a display problem: change the number of decimals for USD and EUR to 4 decimals, it will then show you what you input originally. But then all your values shows with 4 decimals everywhere, so that's not a solution *** STEPS TO REPRODUCE 1. Create 2 currencies in the system (EUR & USD) 2. Set the currency to 1.0567 and click "add" 3. Look at the data showing on the same screen, it will show 1.06 at 3 locations: - account listing - exchange rate listing - entry input field used to input the value OBSERVED RESULT The value is displayed rounded to the number of decimal of that currency EXPECTED RESULT The number of decimals should not matter when displaying exchange rate. So in that case we should always see the value with as many decimals as input by the user. SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: Skrooge version: 2.27.0 ADDITIONAL INFORMATION -- You are receiving this mail because: You are watching all bug changes.