getCurrencyDecimalSeparator |
Returns the currency decimal separator for the corresponding locale
Syntax
localeObject.getCurrencyDecimalSeparator()
Parameters
NA
Return Value
Returns the currency decimal separator as a string
Example
The following example displays how this method is used.
importType("wcp.library.util.LocaleFormat"); importType("wcp.library.util.Locale"); var localeObject = new Locale(sLocale);//sLocale --> "en-US" localeObject.getCurrencyDecimalSeparator();//Will return "," for locale "en-US"