pp108 : getCurrencyNegativePattern

getCurrencyNegativePattern


Returns the negative pattern for the currency

Syntax

localeObject.getCurrencyNegativePattern()

Parameters

NA

Return Value


Returns the negative pattern for the currency

Example


The following example displays how this method is used.

importType("wcp.library.util.LocaleFormat");

importType("wcp.library.util.AmountFormat");

var localeObject = new Locale(sLocale);//sLocale --> "en-US"
localeObject.getCurrencyNegativePattern();//Will set "($n)" for locale "en-US"

See Also


Locale