search

goog.i18n.NumberFormat

Provided By

Constructor of NumberFormat.

new NumberFormat( pattern, opt_currency, opt_currencyStyle, opt_symbols )

Parameters
pattern(number|string)

The number that indicates a predefined number format pattern.

opt_currencystring=

Optional international currency code. This determines the currency code/symbol used in format/parse. If not given, the currency code for the current locale will be used.

opt_currencyStylenumber=

currency style, value defined in goog.i18n.NumberFormat.CurrencyStyle. If not given, the currency style for the current locale will be used.

opt_symbolsgoog.i18n.NumberFormatSymbols_af=

Optional number format symbols map, analogous to goog.i18n.NumberFormatSymbols. If present, this overrides the symbols from the current locale, such as the percent sign and minus sign.

Instance Methods

Static Functions

Static Properties

Enumerations