Forum

Decimal separation ...
 
Notifications
Retirer tout

Decimal separation parameter

4 Posts
2 Utilisateurs
0 Reactions
1,922 Vu
sharky
(@sharky)
Posts: 47
Trusted Member
Début du sujet
 
[#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


 
Posté : 10/10/2021 10:23 am
(@babynus)
Posts: 14952
Membre 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.


 
Posté : 15/10/2021 1:30 pm
sharky
(@sharky)
Posts: 47
Trusted Member
Début du sujet
 

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


 
Posté : 15/10/2021 4:05 pm
(@babynus)
Posts: 14952
Membre 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.


 
Posté : 15/10/2021 4:37 pm
Share:
Retour en haut