getDecimalSeparator |
Returns the number decimal separator for the corresponding locale
Syntax
localeObject.getDecimalSeparator()
Parameters
NA
Return Value
Returns the 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, element);//sLocale --> "en-US" localeObject.getDecimalSeparator();//Will return "."