Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

Intl.NumberFormat.prototype.resolvedOptions()

2 tags 1 category

The resolvedOptions() method of Intl.NumberFormat instances returns a new object with properties reflecting the options computed during initialization of this NumberFormat object.

Return value: A new object with properties reflecting the options computed during the initialization of this NumberFormat object. The object has the following properties, in the order they are listed:

Return value: locale The BCP 47 language tag for the locale actually used, determined by the locale negotiation process. Only the nu Unicode extension key, if requested, may be included in the output. numberingSystem The value provided for this property in the options argument, or using the Unicode extension key “nu”, with default filled in as needed. It is a supported numbering system for this locale. The default is locale dependent. style The value provided for this property in the options argument, with default filled in as needed. It is either “decimal”, “percent”, “currency”, or “unit”. The default is “decimal”. currency The value provided for this property in the options argument. It is only present if style is “currency”. It is an ISO 4217 currency code; see Intl.supportedValuesOf().

Syntax example: resolvedOptions()

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…