-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
Powertoys run calculator weird behavior with space-separated thousands #34145
Comments
We've found some similar issues:
If any of the above are duplicates, please consider closing this issue out and adding additional context in the original issue.
|
okay, my issue appears to be a duplicate of #11786 (with more serious consequences than the original issue). It would probably be resolved by #2265, but I would like to point out, that issue is 4 years old and is blocked by the microsoft calculator team. Looking through all the issues closed as duplicates/contained within #2265, I can see that there are many problems with the current calculator and it doesn't look like microsoft/calculator#526 will happen any time soon, so maybe you could consider some alternative solutions? |
Ping @crutkas @ethanfangg @htcfreek |
Answer here would be to just remove the whitespace which would be a easy fix. Calc seems to do that. |
@Jay-o-Way, this is different than comma vs period and when people mix and match them. |
That changes the current behavior of an implied multiplication. |
@crutkas |
Microsoft PowerToys version
0.83.0
Installation method
PowerToys auto-update
Running as admin
No
Area(s) with issue?
PowerToys Run
Steps to reproduce
100 500/100
- the result is incorrect (500
instead of1005
)100500/100
(without the separator), we get the correct result -1005
.I believe this is because the whitespace will be treated as implied multiplication, so the equation becomes
100(500/100) = 500
✔️ Expected Behavior
Whitespace can be used for thousands separator.
According to Wikipedia, space is the internationally recommended thousands separator.
❌ Actual Behavior
Doing calculations with large numbers formatted with whitespace as thousand separator give misleading results.
Other Software
No response
The text was updated successfully, but these errors were encountered: