setCurrencyGroupSeparator |
Sets the currency group separator for the corresponding locale
Syntax
localeObject.setCurrencyGroupSeparator(separator)
Parameters
Parameter |
Description |
---|---|
separator |
Required. The currency group separator. |
Return Value
NA
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.setCurrencyGroupSeparator(" ");//Will set " " for locale "en-US"