pp108 : setCurrencyGroupSizes

setCurrencyGroupSizes


Sets the currency group sizes for the corresponding locale

Syntax

localeObject.setCurrencyGroupSizes(groupSizes)

Parameters

Parameter

Description

groupSizes

Required. The currency group sizes separated with commas.

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.setCurrencyGroupSizes("2,3");//Will set currency group sizes as "3,2" for locale "en-US"

See Also


Locale, Locales