Bug 490111

Summary: percent (%) wrong result/unexpected behavior
Product: [Applications] kcalc Reporter: Mirsch <mirsch>
Component: generalAssignee: Evan Teran <evan.teran>
Status: RESOLVED DUPLICATE    
Severity: normal CC: gabriel.barrantes.dev
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Mirsch 2024-07-11 14:00:27 UTC
usage of the % sign behaves different than previous Plasma 5 version and gives wrong results.
KCalc (22.12.3) in Plasma 5 (5.27.5 at Debian 12) gives expected result


STEPS TO REPRODUCE
enter 50+10%=

OBSERVED RESULT
50,1

EXPECTED RESULT
55

SOFTWARE/OS VERSIONS
KDE Plasma Version: 6.0.5 (Manjaro) and 6.1.2 (Arch)
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.1 and 6.7.2
Comment 1 Gabriel Barrantes 2024-07-11 16:19:16 UTC
The fix should be there next release. I am going to push the fix into the current release branch just in case.

*** This bug has been marked as a duplicate of bug 489027 ***