burton999dev / CalcNoteHelp

Help for CalcNote
25 stars 1 forks source link

Option for exchange dot and comma #20

Closed christiandull closed 2 years ago

christiandull commented 2 years ago

In europe it is usual to use the comma as decimal seperator.

I tryed to setup it with grammer, but don't get the result i want.

It would be great to have a option to exchange the dot and the comma (in the view and in the keyboard). It should be a simple checkbox or dropdownlist with 2 options (dot as seperator or comma).

burton999dev commented 2 years ago

I tryed to setup it with grammer, but don't get the result i want.

Can you give share with me what you have set up?

burton999dev commented 2 years ago
  1. [Settings] -> [Calculation Settings] -> [Customize the grammar]
  2. Change Decimal point as Comma
  3. Change Thousands separator as Period
  4. Change Argument separator as Period or others you want. (I'm not sure what the European people use for argument separators.)
  5. Tap the save button(Floppy disk icon)
christiandull commented 2 years ago

With these settings, it shows at the left side the comma correct and also the comma and dot is switched in the keybaord. But in the result it shows the comma where the dot should be and the dot where the comma should be.

See screenshot Screenshot_20211215-142119 .

burton999dev commented 2 years ago

Also you need to change Result display format

christiandull commented 2 years ago

Oh, i have overseen that.

Now it works perfect how i wish it.

Maybe it would be a good idea to add a checkbox like i proposed that changes these 4 settings with one click. I think to find out and change the 4 settings is for the most users a little bit complex.

Another question: Is it possible to show the dot also when typing at the left side:

100 then add a additional zero also at the left side and then it should show this 1.000

Screenshot_20211215-145821

burton999dev commented 2 years ago

I think to find out and change the 4 settings is for the most users a little bit complex.

I agree with you. But, countries in the world use single quotation marks as thousand separators, and others use spaces. Perhaps there are more variations that I just don't know about. Also, I don't even know what characters the countries that use commas for decimal points use as argument separators. Perhaps there are several patterns to this as well. Because of this, I can't keep track of everything, so I decided to leave everything to the users.

Is it possible to show the dot also when typing at the left side

Unfortunately, CalcNote does not support auto-formatting a thousand separators. It is very difficult for an app to change the input while the user is typing. I tried to implement this before, but the movement was unnatural and uncomfortable.

christiandull commented 2 years ago

Ok. Thanks for the answers. I am now a pro version user. Thanks for the great app.

burton999dev commented 2 years ago

Thank you, too.