0

I want to make gnome-calculator works with an input number that has commas inside as thousands separator, currently, gnome-calculator auto subtracts all the numbers following the first comma.

My LC_NUMERIC config here:

decimal_point="."
thousands_sep=""
grouping=-1
numeric-decimal-point-wc=46
numeric-thousands-sep-wc=0
numeric-codeset="UTF-8"
0

1 Answer 1

1

GNOME-Calculator reads the , and . as a decimal. It is something that is hard coded into the app itself. If you would like that as a feature you will have to file a feature request by ubuntu-bug gnome-calculator.

However, the comma can be automatically inserted for you. Do not press the comma , as the calculator will assume it is a decimal.

Click on the Gear and select Preferences.

enter image description here

Then turn on the Thousands Separators.

enter image description here

Then when you are typing in the numbers like 10000 the comma will be added automatically.

enter image description here

2
  • I still get the same result. hic
    – logbasex
    Jun 2, 2021 at 14:56
  • @logbasex Do not press the comma. The calculator assumes that is the decimal.
    – Terrance
    Jun 2, 2021 at 15:39

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .