Bug 490851 - Unexpected calculations results with 0 first
Summary: Unexpected calculations results with 0 first
Status: RESOLVED DUPLICATE of bug 487837
Alias: None
Product: kcalc
Classification: Applications
Component: general (show other bugs)
Version: 24.05.2
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Evan Teran
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-26 10:26 UTC by Alexei
Modified: 2024-07-26 13:58 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexei 2024-07-26 10:26:53 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY
Unexpected calculations results with 0 first

STEPS TO REPRODUCE
1. 726 x 7 = 5082
2. 0726 x 7 = 3290

OBSERVED RESULT
3290

EXPECTED RESULT
5082

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.10.0-3-MANJARO (64-бита)
(available in About System)
KDE Plasma Version: 6.0.5
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.2

ADDITIONAL INFORMATION
---
Comment 1 Gabriel Barrantes 2024-07-26 13:58:52 UTC
Should be in the new release, "0" prefixed numbers used to be interpreted as octal, now "0o" is the octal prefix.

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