Bug 490111 - percent (%) wrong result/unexpected behavior
Summary: percent (%) wrong result/unexpected behavior
Status: RESOLVED DUPLICATE of bug 489027
Alias: None
Product: kcalc
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Evan Teran
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-11 14:00 UTC by Mirsch
Modified: 2024-07-11 16:19 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***