Closed DanyGee closed 3 years ago
Sorry, this function before accidentally deleted Now re-add back. (:
https://github.com/linuxdeepin/deepin-calculator/commit/405daefde10c3de2ebc0cc679f918c947a93097e
Well, something still isn't right :wink:
Well, something still isn't right
where is mistake?
How much 30% of 5000 would be? Definately not 000.3 as this magical calculator says :rofl:
Wanted to open a bug report since I found deepin-calculator is unable to calculate percentages and seems like there is already one outstanding since 11th of September. This bug renders deeping-calculator unusable in my opinion. Just adding my own screenshot here and off to search for a suitable alternative.
Something like this:
30% = 30/100 = 0.3.
What you want to do is:
5000 - (5000 * 0.3)
@cephalopodluke I know what I want to do. The question is: Does the maintainer know how to properly implement it? When I type 5000 - 30% I expect the result to be 3500 (5000 - 1500 = 3500).
Dozens of other calculators deal with it flawlessly.
Linked article describes how % operator should behave in calculator. https://devblogs.microsoft.com/oldnewthing/20080110-00/?p=23853
Couldn't be %
for modulo instead of percentage ? :thinking:
Couldn't be
%
for modulo instead of percentage ? :thinking:
Yeah it would be great, but only when we would considering programmer calculator. So far "deepin-calculator" doesn't even support scientific mode, so...
we have do some work,maybe you can try the latest version
This issue will be temporarily closed due to no response received. Please reopen the issue if there're any new updates.
How can I calculate for example 5000 - 30%? When trying 5000-30% it throws an error: