setCurrencyDecimalDigits |
Sets the currency decimal digits for the corresponding locale
Syntax
localeObject.setCurrencyDecimalDigits(nrDigits)
Parameters
Parameter |
Description |
---|---|
nrDigits |
Required. The currency decimal digits. |
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.setCurrencyDecimalDigits("3");//Will set "3" for locale "en-US"