-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
Multiplication bug in calculator when using period instead of comma #19741
Comments
Hello and thanks for your message. What are your (Windows) regional settings? And there's a check-box in PowerToys Settings dealing with regional format ( |
Hello, thanks for the reply. |
Hello, PowerRun v0.61.1 Thanks for the info @Jay-o-Way |
My own results; local decimal is a comma
Looking at this, I think that for the input that is not matching the local delimiter, all the |
Still happening with 0.64.1 and German region settings. |
Maybe it came too late for 0.65.0, as it's not listed in the "Known Issues" of that release. For the next release I'd suggest to at least include this unexpected behavior in the list of "Known Issues" if no fix for it can be done by that time. |
@crutkas @stefansjfw @jaimecbernardo we rrreally need to do something about this |
This is exactly how it should work:
If you use the wrong delimiter it is interpret as thousand separator instead of decimal separator. And then all trailing zeros are removed because 001 is the same as 1. |
Thanks, with that mention of the thousand separator I finally could understand what's going on. It never even crossed my mind because although I work with numbers on a quite regular basis a thousand-separator is used absolutely never. I understand from a technical perspective that the handling is "correct", but at least from my practical experience this is really unexpected and very confusing (esp. when regularly also switching between english and eg. german formats). I have no real suggestion how it could be improved for the multi-national userbase of the Run plugin, but for me personally I'd prefer a (default-on) setting to not interpret thousand-separators (whatever it is) at all instead of toggling the meaning of "." and ",". |
This bug is still present in the latest version. PowerToys v0.68.1 When I'm using the DOT key on the numpad, this will give a "." instead a "," |
/dup #2265 |
Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report! |
Microsoft PowerToys version
0.61.1
Running as admin
Area(s) with issue?
PowerToys Run
Steps to reproduce
Alt Space to run PowerToys Run
Enter: 6700 * 0.03
✔️ Expected Behavior
The result would be 201
❌ Actual Behavior
PowerToys returns 2010, probably because of the period usage in place of comma.
6700*0.03 = 2010
6700*0,03 = 201
I think it's a bug because 6700*0.1 returns correct answer, but going lower doesn't
Other Software
No response
The text was updated successfully, but these errors were encountered: