Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

Decimal separation ...
 
Notifications
Clear all

Decimal separation parameter

4 Posts
2 Users
0 Reactions
1,952 Views
sharky
(@sharky)
Posts: 47
Active Member
Topic starter
 
[#7810]

Hello,

In France the comma "," is used to separate the decimals.
In Switzerland we use the dot ".". This is also the character that is entered with the numeric keypad.

I didn't find a parameter that could define the separator character : parameter or language file.

I read the topic
https://www.projeqtor.org/fr/kunena/2-submit-issues/11443-incorrect-full-ammount-after-tax-is-applied

It would be interesting to define this characteristic in the system. Several fields are affected.

Thanks


 
Posted : 10 Oct 2021 10H23
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Hi, 

Use of comma of point for decimals is determined through Dojo feature, which uses Browser Language définition.
So, if you use fr-fr, comma will be used.
If you use en-us, point will be used.


 
Posted : 15 Oct 2021 13H30
sharky
(@sharky)
Posts: 47
Active Member
Topic starter
 

Hello,

Thank you for the answer.
I use Brave and I have fr-CH as my first language, but it's always the comma as decimal character
Indeed en-us is a point.

Is there a way to change the en-CH to be the point without asking the browser designer and the language to change this configuration


 
Posted : 15 Oct 2021 16H05
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Hi,

It seems dojo does only take into account first two letter on local to determine number formationg.
So fr-CH is fr, with comma for decimal point.
Maybe some (not easy) evolution could bring some solution, but there is no workaround.


 
Posted : 15 Oct 2021 16H37
Share:

Scroll to Top