How to make gnome-calculator accept comma as thousand separator?

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

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

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like