Summary: | Doesn't subtract percentages correctly | ||
---|---|---|---|
Product: | [Applications] kcalc | Reporter: | cinman71481 <cinman71481> |
Component: | general | Assignee: | Gabriel Barrantes <gabriel.barrantes.dev> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | answer2019, fanzhuyifan, flyingwaffle, gabriel.barrantes.dev, hammerschaedel, kayzzen01, mirsch, rondo.sp, screen-rind-whoops, stefan.annoni |
Priority: | HI | Keywords: | regression |
Version: | 24.05.0 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/utilities/kcalc/-/commit/d962db84549160c2eb7196f0a2eba06a0fe93616 | Version Fixed In: | |
Sentry Crash Report: |
Description
cinman71481@gmail.com
2024-06-23 07:36:43 UTC
Also different from google calculator, and wolfram alpha. IMO we should be consistent with the major calculators. The same applies for percentage additions (also in version 24.05.1): 10+20%=10.2 instead of 12 A possibly relevant merge request was started @ https://invent.kde.org/utilities/kcalc/-/merge_requests/116 Git commit d962db84549160c2eb7196f0a2eba06a0fe93616 by Gabriel Barrantes. Committed on 06/07/2024 at 18:44. Pushed by gabrielbarrantes into branch 'master'. Add "add/subtract percentage" functionality M +20 -1 autotests/kcalc_parser_core_test.cpp M +40 -0 kcalc_core.cpp M +1 -0 kcalc_core.h https://invent.kde.org/utilities/kcalc/-/commit/d962db84549160c2eb7196f0a2eba06a0fe93616 *** Bug 490111 has been marked as a duplicate of this bug. *** *** Bug 490329 has been marked as a duplicate of this bug. *** *** Bug 490355 has been marked as a duplicate of this bug. *** *** Bug 490696 has been marked as a duplicate of this bug. *** *** Bug 491766 has been marked as a duplicate of this bug. *** *** Bug 492115 has been marked as a duplicate of this bug. *** |