Bug 482083

Summary: allow the user to choose whether he wants to print decimals and set thousands separator in reports
Product: [Applications] kmymoney Reporter: surcouf <arnaudvillemain>
Component: reportsAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: REPORTED ---    
Severity: wishlist    
Priority: NOR    
Version First Reported In: 5.2.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description surcouf 2024-02-29 19:55:26 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. open any standard report or created a new report which shows figures (as a graph or a table)

OBSERVED RESULT
all numeric values are shown with 2 decimals, there is no thousands separator

EXPECTED RESULT
let the user:
1/ set the number of decimals (ND) he wants to display at report level.
This number may also be negative.

2/ set if thousand separator has to be applied to the displayed values (this feature may also be implemented more centrally, e.g. in Kmymoney Settings -> external plugins > Reports if it appears more reasonable)

For example for this reported value 2,000,222.1234
ND = 2 will show £ 2,000,222.12
ND = 4 will show £ 2,000,222.1234
ND = 0 will show £ 2,000,222
ND = -3 will show k£ 2,000 (you notice the apparition of the 'k' for one thousand.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Elementary OS 6.1
KmyMoney 5.1.3

ADDITIONAL INFORMATION