getNumberGroupSizes |
Returns the number group sizes for the corresponding locale
Syntax
localeObject.getNumberGroupSizes()
Parameters
NA
Return Value
Returns the number group sizes as an array. By default, 3 is returned if there is no group size present for the locale.
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.getNumberGroupSizes();//Will return the number group sizes for locale "en-US" as "3"