-
-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error in percentage calculation #222
Comments
There was a PR (#137) suggesting a way of dealing with this but it did not get any traction at the time. |
Without this function it's completely useless for me, Elementary you can remove it from the OS, I have to use another one. |
Duplicate of #44. This is an old issue for which no universally acceptable solution was found due to the ambiguity of the |
Looked at how Google handles this - essentially it does not interpret Correction, Calculator recognises |
@EnriquePG-Noc, @Dragonfir3 I have pushed a PR to address this - #268. If you are able to build and test this I would welcome your comments. |
What Happened?
When performing an addition or subtraction operation with percentages, the program ignores that it is a percentage.
For example:
100 + 2% = 100.02 (the correct would be 102).
100 - 2% = 99.98 (correct would be 98)
This happens with any number you type.
Steps to Reproduce
Expected Behavior
Basically because it is expected to operate with percentages, but what it seems to perform is a decimal operation.
OS Version
6.x (Odin)
Software Version
Latest release (I have run all updates)
Log Output
No response
Hardware Info
No response
The text was updated successfully, but these errors were encountered: