function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
BoolsEyeBoolsEye 

Current users currency separators via API

How can I get the current users currency separator characters  (thousands/decimals) via API ?
 
I use the function below to convert a currency to a number. In the last line the "," character (thousand separator) is removed from the number but if the user uses european settings this will be a "." character.
 
I looked at GetUserInfoResult but could not find any information.
 
// Juergen
 
function convertCurrencyToNumber(currValue) {
if(currValue == null || currValue =="") {
currValue = "0";
} else {
currValue = stripCurrencyCode(currValue);
}
return currValue.replace(",", "");
}