Flow-Launcher / Flow-Launcher/Flow.Launcher

ENHANCEMENT: Thousands separators cannot be computed in Calculator

Open
#2,283 3 comments 0 reactions 0 assignees View on GitHub
enhancement keep-fresh
Dominant language
C#
Stars
15.6k
Forks
644
Avg merge
16h 51m
Merged PRs (30d)
3

Description

### Checks

- [X] I have checked that this issue has not already been reported.

- [X] I am using the latest version of Flow Launcher.

### Problem Description

Flow Launcher 1.6.11 (with Calculator 3.0.3) does not understand `,` as a thousands separator: it does not compute any numbers that have a comma. Unfortunately, this issue makes quick math sometimes difficult.

Windows Calculator adds a thousands separator in all of its results, but copy-pasting those results into Flow Launcher causes the Flow Launcher to no longer compute.

By `,` as a thousands separator, I mean this:

3 *10 = 300
300 * 10 = 3,000

### To Reproduce

1. In Plugins → Calculator → drop-down arrow → decimal separator to Dot (.). That is correct; the _decimal_ separator is a dot.
2. Open a Flow Launcher search. Type in 3,000*4. The result should be 12,000.
3. Flow launcher will refuse to compute the mathematical expression.

### Screenshots

![2023-08-10_15-04-32](https://github.com/Flow-Launcher/Flow.Launcher/assets/3848795/b22a1b30-fdd5-4563-ad66-fd42a21a1c3c)

### Flow Launcher Version

1.16.1

### Windows Build Number

10.0.22621.2134

### Error Log

```shell

Replace this line with the important log contents.

```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.