getCurrencySymbol |
Returns the currency symbol for the corresponding locale
Syntax
localeObject.getCurrencySymbol()
Parameters
NA
Return Value
Returns the currency symbol
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.getCurrencySymbol();//Will return "$" for locale "en-US"