How to force the decimal separator by setting user.country java option?
X
Xavier Meunier
started a topic
about 1 month ago
Use case: you need to force the decimal separator (a dot or a comma, for example)
Best Answer
X
Xavier Meunier
said
about 1 month ago
You can set the "user.country" Java property, through the "XDI_RUNTIME_VM_PROPERTIES" variable from the initvariables.bat / initvariables.sh file on the runtime repository. Two examples: -Duser.country=US => . -Duser.country=FR => ,
The value of the property has to be an ISO 3166 alpha-2 country code or UN M.49 numeric-3 area code. You can find a full list of valid country and region codes in the IANA Language Subtag Registry (search for "Type: region").
1 Comment
X
Xavier Meunier
said
about 1 month ago
Answer
You can set the "user.country" Java property, through the "XDI_RUNTIME_VM_PROPERTIES" variable from the initvariables.bat / initvariables.sh file on the runtime repository. Two examples: -Duser.country=US => . -Duser.country=FR => ,
The value of the property has to be an ISO 3166 alpha-2 country code or UN M.49 numeric-3 area code. You can find a full list of valid country and region codes in the IANA Language Subtag Registry (search for "Type: region").
Xavier Meunier
Use case: you need to force the decimal separator (a dot or a comma, for example)
You can set the "user.country" Java property, through the "XDI_RUNTIME_VM_PROPERTIES" variable from the initvariables.bat / initvariables.sh file on the runtime repository.

Two examples:
-Duser.country=US => .
-Duser.country=FR => ,
The value of the property has to be an ISO 3166 alpha-2 country code or UN M.49 numeric-3 area code.
You can find a full list of valid country and region codes in the IANA Language Subtag Registry (search for "Type: region").
Xavier Meunier
You can set the "user.country" Java property, through the "XDI_RUNTIME_VM_PROPERTIES" variable from the initvariables.bat / initvariables.sh file on the runtime repository.

Two examples:
-Duser.country=US => .
-Duser.country=FR => ,
The value of the property has to be an ISO 3166 alpha-2 country code or UN M.49 numeric-3 area code.
You can find a full list of valid country and region codes in the IANA Language Subtag Registry (search for "Type: region").