Bug 490355

Summary: KCalc is not correctly calculating the sum of a number plus its percentage.
Product: [Applications] kcalc Reporter: Chema <rondo.sp>
Component: generalAssignee: Evan Teran <evan.teran>
Status: RESOLVED DUPLICATE    
Severity: normal CC: gabriel.barrantes.dev
Priority: NOR    
Version: 24.05.2   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Chema 2024-07-16 12:26:17 UTC
KCalc is not correctly calculating the sum of a number plus its percentage.

For example, if I do this operation (following the instructions in The KCalc Handbook):

100 + 50 % should return 150.

However, when I do this, it returns 100.5.

You can see it in the following video:

https://drive.google.com/file/d/1O9e-djPZPGb8fvi2T3UXyH2j4wB2i0Op/view?usp=drive_link

My system:

KCalc Version: 24.05.2
Operating System: EndeavourOS
KDE Plasma Version: 6.1.2
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.2
Kernel Version: 6.10.0-x64v3-xanmod1 (64-bit)
Graphics Platform: Wayland
Processors: 20 × 12th Gen Intel® Core™ i9-12900HK
Memory: 62.5 GiB of RAM
Graphics Processor: Mesa Intel® Graphics
Manufacturer: Micro Computer(HK) Tech Limited
Product Name: Venus series
System Version: OEM
Comment 1 Gabriel Barrantes 2024-07-16 14:29:24 UTC

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