Skip to content

Command Palette calculator "." interpretation #45536

@MadLemurr

Description

@MadLemurr

Microsoft PowerToys version

0.97.2

Installation method

Microsoft Store

Area(s) with issue?

Command Palette

Steps to reproduce

Writing any math operation with a number with a dot (.)
Example: 5.5+0.5

Image

✔️ Expected Behavior

Any number with dot (X.Y) is treated as decimal (X,Y)
Example: 5.5+0.5 is treated as 5,5+0,5

❌ Actual Behavior

Any number with dot (X.Y) is treated as integer (XY)
Example: 5.5+0.5 is treated as 55+5

Additional Information

OS Version: Microsoft Windows NT 10.0.22631.0
.NET Version: .NET 9.0.12
PowerToys is running as user (non-elevated)
Install scope: per user
Operating System Language: Italian (Italy)
System locale: it-IT

Other Software

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions