Bug 490329 - Implicit percentage are not accounted for
Summary: Implicit percentage are not accounted for
Status: RESOLVED DUPLICATE of bug 489027
Alias: None
Product: kcalc
Classification: Applications
Component: general (show other bugs)
Version: 24.05.2
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Evan Teran
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-15 22:53 UTC by FlyingWaffle
Modified: 2024-07-16 02:39 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 FlyingWaffle 2024-07-15 22:53:03 UTC
SUMMARY
In Plasma 5, Kcalc would accept implicit percentages, for example 40 - 10% would result in 36.
Now, in Plasma 6, Kcalc takes the naive value of the percentage (40 - 10% = 39.9).

STEPS TO REPRODUCE
1. Enter a calculation adding or subtracting a percentage from a number.
2. Check result.

OBSERVED RESULT
40 -10% = 39.9

EXPECTED RESULT
40 - 10% = 36

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Gentoo Linux, kernel 6.6.39, amd64
KDE Plasma Version: 6.1.2
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.2
Comment 1 Gabriel Barrantes 2024-07-16 02:39:53 UTC

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