https://bugs.kde.org/show_bug.cgi?id=524955

Thomas Baumgart <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|                            |5.2.3
  Fixed/Implemented|                            |
                 In|                            |
      Latest Commit|                            |https://invent.kde.org/offi
                   |                            |ce/kmymoney/-/commit/ac1ca6
                   |                            |3bc6ef4b38e12d174de7d4470b6
                   |                            |da759ca
         Resolution|---                         |FIXED
             Status|REPORTED                    |RESOLVED

--- Comment #2 from Thomas Baumgart <[email protected]> ---
Git commit ac1ca63bc6ef4b38e12d174de7d4470b6da759ca by Thomas Baumgart, on
behalf of Dimitrios Glentadakis.
Committed on 06/09/2026 at 07:09.
Pushed by tbaumgart into branch 'master'.

Use monetary separators in the amount calculator

AmountEdit and MyMoneyMoney format amounts according to LC_MONETARY,
while KMyMoneyCalculator used the default QLocale, which follows
LC_NUMERIC.

When the two locale categories use different separators, for example
LC_NUMERIC=C and LC_MONETARY=fr_FR.UTF-8, the calculator removes the
decimal comma from an initial amount as if it were a thousands
separator. An amount such as 12,50 is therefore calculated as 1250.

Use the decimal and thousands separators already detected by
MyMoneyMoney for the calculator display, initial operand and pasted
values. This keeps the calculator consistent with the AmountEdit field
that provides and receives its values.
FIXED-IN: 5.2.3

M  +17   -8    kmymoney/widgets/kmymoneycalculator.cpp
M  +7    -7    kmymoney/widgets/kmymoneycalculator.h

https://invent.kde.org/office/kmymoney/-/commit/ac1ca63bc6ef4b38e12d174de7d4470b6da759ca

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to