microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
111.37k stars 6.56k forks source link

power toy run doesn't displays two 0 in the result of a ecuation #31341

Open abraham-rios opened 9 months ago

abraham-rios commented 9 months ago

Microsoft PowerToys version

0.78.0

Installation method

Microsoft Store

Running as admin

Yes

Area(s) with issue?

PowerToys Run

Steps to reproduce

press alt+spacebar type 571200/1.19

✔️ Expected Behavior

The result should be 480000

❌ Actual Behavior

image

Other Software

No response

kuldeepdev407 commented 9 months ago

I tried this with same version of PowerToys on Windows 11 but everything is working fine. image Can you provide more detail or something different

TheJoeFin commented 9 months ago

/bugreport

Jay-o-Way commented 9 months ago

@abraham-rios what is normally the decimal character in your language? And what is the setting for "use English numbers" in PowerToys settings > PT Run?

Jay-o-Way commented 9 months ago

Why is my phone weird? 303144937-da240dd3-0352-4cf9-984c-5318a997165e (Telefoon)

Google too 303145117-df91b9f5-178f-4b9c-8256-e4767f55a9ef (Gemiddeld)

abraham-rios commented 9 months ago

Hi there,

@abraham-rios what is normally the decimal character in your language? And what is the setting for "use English numbers" in PowerToys settings > PT Run?

This is the configuration that I have image

And in my lenguage the dot is the decimal character

I tried this with same version of PowerToys on Windows 11 but everything is working fine. image Can you provide more detail or something different

I tried diferent things and it's only doesn't work with dots , cause with something like 50/1.1 happens the same, there are 2 digits missing image When I used a comma it work, like this image

Hi there!We need a bit more information to really debug this issue. Can you add a "Report Bug" zip file here? You right click on our system tray icon and just go to report bug. Then drag the zipfile from your desktop onto the GitHub comment box in this issue. Thanks! Report Bug

There is the zip file PowerToysReport_2024-02-09-09-59-01.zip

Jay-o-Way commented 9 months ago

Strange case 🕵🏻‍♂️🤔

abraham-rios commented 9 months ago

Hi,

I think i found a solution, is a configuration of Windows that says the comma is the default decimal character, i change that and restart the pc and worked well.

The route for this configuration is: control panel>Region>Formats>Additional configuration>Decimal character.

Searching why this happens its cause win 11 for this country uses the comma but MPTR don´t remplaces the dot for a comma automatically, like the calculator of windows, I type a dot and it uses a comma, it changes for a dot when i changes the preferences in the panel control, it´s strange cause some applications uses a dot and other a comma for decimals.

At least all the Microsoft applications will use the dot by now, still the interaction off power toys run with the dot and comma it's strange

Jay-o-Way commented 9 months ago

Thanks for the feedback. Just to check: does the results match expectations when you check the setting for "Use English notation" ?