Bug 490696

Summary: Automatic percent (%) calculation shortcut
Product: [Applications] kcalc Reporter: screen-rind-whoops <screen-rind-whoops>
Component: generalAssignee: Evan Teran <evan.teran>
Status: RESOLVED DUPLICATE    
Severity: normal CC: gabriel.barrantes.dev
Priority: NOR    
Version: 24.05.2   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description screen-rind-whoops 2024-07-23 10:51:45 UTC
SUMMARY
It's common to do percent calculations by pressing the % key.

I thought this was supported in the old version of kcalc but is now missing.

STEPS TO REPRODUCE
1. Type "87 + 5%"
2. Enter.

OBSERVED RESULT
87 + 5% = 87.05

EXPECTED RESULT
87 + 4.35 = 91.35
After pressing % key, input textbox automatically calculates 5% of 87 and replaces "5%" with "4.35".

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 40 KDE, 6.9.8-200.fc40.x86_64 (64-bit)
KDE Plasma Version: 6.1.2
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.2
Comment 1 Gabriel Barrantes 2024-07-23 14:20:17 UTC
The fix should be there in the upcoming release.

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