Skip to main content
VSimu.1
Associate III
September 9, 2020
Solved

Decimal point vs. decimal comma in TouchGFX

  • September 9, 2020
  • 3 replies
  • 1116 views

I have a very simple question and I hope there is some simple answer.

After creating translations in TouchGFX, we noticed that numbers can be display either using decimal points ($12,333,444.00) or using decimal commas (12.333.444,00€).

When I change the language from say English to French, how do I change the values displayed to differentiate decimal point and decimal comma?

This topic has been closed for replies.
Best answer by Alexandre RENOUX

Hello,

Sorry but I'm not sure I understand what you are trying to say.

You want to have a number with commas in one language and with dots in another language, right ?

Also, if you could enclose a small TouchGFX example, this would be helpful.

/Alexandre

3 replies

Alexandre RENOUX
Alexandre RENOUXBest answer
Visitor II
September 9, 2020

Hello,

Sorry but I'm not sure I understand what you are trying to say.

You want to have a number with commas in one language and with dots in another language, right ?

Also, if you could enclose a small TouchGFX example, this would be helpful.

/Alexandre

VSimu.1
VSimu.1Author
Associate III
September 9, 2020

Hi Alexandre, that is exactly what I am trying to say.

You can check out this Wikipedia article which explains the concept even further https://en.wikipedia.org/wiki/Decimal_separator#Countries_using_decimal_comma

Basically depending on the language, the numeric output needs to look different.

I will enclose a minimal example soon. But it should not be needed for this - this is very generic.

VSimu.1
VSimu.1Author
Associate III
September 9, 2020

Change of plans for us, we won't use this functionality. Still it might be an interesting feature for others.