Skip to content
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

Run : calculator clipboard value diff than display value #7150

Closed
arsunt95 opened this issue Oct 7, 2020 · 5 comments
Closed

Run : calculator clipboard value diff than display value #7150

arsunt95 opened this issue Oct 7, 2020 · 5 comments
Assignees
Labels
Issue-Bug Something isn't working Product-PowerToys Run Improved app launch PT Run (Win+R) Window Resolution-Fix Committed Fix is checked in, but it might be 3-4 weeks until a release.

Comments

@arsunt95
Copy link

arsunt95 commented Oct 7, 2020

Salve !

With some numbers / decimals, the calculator included with PowerToys Run display wrong decimals : a lot of 00000 or 00001 without any necessary.

Example : 8.43+4.43-12.8
Total display : 0,060000000
Total on the clipboard : 0,0,0599999999999987

(note : the calculation in the windows calculator application gives the correct result without unnecessary decimals)

ℹ Computer information

  • PowerToys version: 0.23
  • PowerToy Utility: Run
  • Running PowerToys as Admin: no
  • Windows build number: Windows 10 fr 2004

✔️ Expected result

The correct sum / total : 0,06 in this exemple

❌ Actual result

Total display : 0,060000000
Total on the clipboard : 0,0,0599999999999987

📷 Screenshots

image

@arsunt95 arsunt95 added the Issue-Bug Something isn't working label Oct 7, 2020
@ghost ghost added the Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams label Oct 7, 2020
@Jay-o-Way
Copy link
Collaborator

Jay-o-Way commented Oct 7, 2020

This was an issue a while ago: #3697. I thought it was fixed.
I wonder if #2265 will have the solution...

@crutkas
Copy link
Member

crutkas commented Oct 7, 2020

can repro this, issue is with the Mages engine. My hope is to get my hands on the calculator team's parser engine :)

Let me see if i can't maybe do some type of new hack to adjust this.

@crutkas
Copy link
Member

crutkas commented Oct 7, 2020

Actually, that is even worse if the clipboard is different than visual value.

@crutkas crutkas changed the title Run : calculator bug with the decimals Run : clipboard value diff than display value Oct 7, 2020
@crutkas crutkas added Product-PowerToys Run Improved app launch PT Run (Win+R) Window and removed Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Oct 7, 2020
@crutkas crutkas changed the title Run : clipboard value diff than display value Run : calculator clipboard value diff than display value Oct 7, 2020
@crutkas crutkas self-assigned this Oct 7, 2020
@crutkas
Copy link
Member

crutkas commented Oct 7, 2020

see the issue, will be fixed with 0.25.

@crutkas crutkas added the Status-In progress This issue or work-item is under development label Oct 7, 2020
@crutkas crutkas added Resolution-Fix Committed Fix is checked in, but it might be 3-4 weeks until a release. and removed Status-In progress This issue or work-item is under development labels Oct 8, 2020
@crutkas
Copy link
Member

crutkas commented Oct 29, 2020

@crutkas crutkas closed this as completed Oct 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug Something isn't working Product-PowerToys Run Improved app launch PT Run (Win+R) Window Resolution-Fix Committed Fix is checked in, but it might be 3-4 weeks until a release.
Projects
None yet
Development

No branches or pull requests

3 participants