How to force the decimal separator by setting user.country java option?
X
Xavier Meunier
started a topic
over 1 year ago
Use case: you need to force the decimal separator (a dot or a comma, for example)
Best Answer
X
Xavier Meunier
said
over 1 year 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
over 1 year 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").
-
How to fix error "HikariPool-3 - Connection is not available, request timed out after 100005ms."
-
All the deliveries failed
-
How to configure the scheduler for Sql Server database ? (having a specific schema name (not dbo))
-
[Error]: ClassNotFoundException
-
Error when installing xDI Runtime on Docker
-
Error when using quartz scheduler
-
Getting issue when trying to install xdi runtime on docker
-
[startdelivery] : error Caused by: javax.net.ssl.SSLHandshakeException: The server selected protocol version TLS10 is not accepted by client preferences [TLS13, TLS12]
-
How to check runtime version ?
See all 13 topics