[Kalk] [Bug 501190] Calculating with decimals uses comma , instead of period .
https://bugs.kde.org/show_bug.cgi?id=501190 Devin Lin changed: What|Removed |Added Latest Commit|https://invent.kde.org/util |https://invent.kde.org/util |ities/kalk/-/commit/b452c5a |ities/kalk/-/commit/445b382 |3460b78fe6deff3ff9d95f7ca21 |f56ff83261edf70b2f2b14f5ee8 |838c28 |4cb4f0 --- Comment #5 from Devin Lin --- Git commit 445b382f56ff83261edf70b2f2b14f5ee84cb4f0 by Devin Lin, on behalf of Albin ZE. Committed on 06/08/2025 at 15:13. Pushed by devinlin into branch 'release/25.08'. Fix: Correctly handle locale-specific decimal separators Related: bug 507525, bug 501116 Fixes a bug where locales that use a comma for decimals, like de_DE, would break calculations. The comma wasn't being converted to a period for the math engine, leading to it being misinterpreted and causing weird results. This now handles the conversion before and after the calculation. This was originally created as https://invent.kde.org/utilities/kalk/-/merge_requests/118, but was updated by @devinlin to expedite getting the fix in due to its severity. M +6-1src/qalculateengine.cpp https://invent.kde.org/utilities/kalk/-/commit/445b382f56ff83261edf70b2f2b14f5ee84cb4f0 -- You are receiving this mail because: You are watching all bug changes.
[Kalk] [Bug 501190] Calculating with decimals uses comma , instead of period .
https://bugs.kde.org/show_bug.cgi?id=501190 Devin Lin changed: What|Removed |Added Version Fixed In||25.08.0 -- You are receiving this mail because: You are watching all bug changes.
[Kalk] [Bug 501190] Calculating with decimals uses comma , instead of period .
https://bugs.kde.org/show_bug.cgi?id=501190 Devin Lin changed: What|Removed |Added Latest Commit||https://invent.kde.org/util ||ities/kalk/-/commit/b452c5a ||3460b78fe6deff3ff9d95f7ca21 ||838c28 Status|ASSIGNED|RESOLVED Resolution|--- |FIXED --- Comment #4 from Devin Lin --- Git commit b452c5a3460b78fe6deff3ff9d95f7ca21838c28 by Devin Lin, on behalf of Albin ZE. Committed on 31/07/2025 at 23:12. Pushed by devinlin into branch 'master'. Fix: Correctly handle locale-specific decimal separators Related: bug 507525, bug 501116 Fixes a bug where locales that use a comma for decimals, like de_DE, would break calculations. The comma wasn't being converted to a period for the math engine, leading to it being misinterpreted and causing weird results. This now handles the conversion before and after the calculation. This was originally created as https://invent.kde.org/utilities/kalk/-/merge_requests/118, but was updated by @devinlin to expedite getting the fix in due to its severity. M +6-1src/qalculateengine.cpp https://invent.kde.org/utilities/kalk/-/commit/b452c5a3460b78fe6deff3ff9d95f7ca21838c28 -- You are receiving this mail because: You are watching all bug changes.
[Kalk] [Bug 501190] Calculating with decimals uses comma , instead of period .
https://bugs.kde.org/show_bug.cgi?id=501190 Bug Janitor Service changed: What|Removed |Added Ever confirmed|0 |1 Status|REPORTED|ASSIGNED --- Comment #3 from Bug Janitor Service --- A possibly relevant merge request was started @ https://invent.kde.org/utilities/kalk/-/merge_requests/119 -- You are receiving this mail because: You are watching all bug changes.
[Kalk] [Bug 501190] Calculating with decimals uses comma , instead of period .
https://bugs.kde.org/show_bug.cgi?id=501190 --- Comment #2 from [email protected] --- Second that, see screenshot above. Seems that Kalk interprets comma in a very unusual way: it treats comma as a kind of separator; not sure what square brackets mean, but the second result (2,9...) on the screenshot is the result of division 82 / 28 (which is, of cause, quite unexpected). Interestingly, Kalk won't let me input a dot as a decimal separator (it seems to ignore the dot key press). -- You are receiving this mail because: You are watching all bug changes.
[Kalk] [Bug 501190] Calculating with decimals uses comma , instead of period .
https://bugs.kde.org/show_bug.cgi?id=501190 [email protected] changed: What|Removed |Added CC||[email protected] --- Comment #1 from [email protected] --- Created attachment 183664 --> https://bugs.kde.org/attachment.cgi?id=183664&action=edit Comma interpretation bug -- You are receiving this mail because: You are watching all bug changes.
