Join MDN and developers like you at Mozilla's View Source conference, 12-14 September in Berlin, Germany. Learn more at https://viewsourceconf.org

Intl.NumberFormat.prototype

The Intl.NumberFormat.prototype property represents the prototype object for the Intl.NumberFormat constructor.

Property attributes of Intl.NumberFormat.prototype
Writable no
Enumerable no
Configurable no

Description

See NumberFormat for a description of Intl.NumberFormat instances.

Intl.NumberFormat instances inherit from Intl.NumberFormat.prototype. Modifications to the prototype object are inherited by all Intl.NumberFormat instances.

Properties

Intl.NumberFormat.prototype.constructor
A reference to Intl.NumberFormat.
Intl.NumberFormat.prototype.format
Getter; returns a function that formats a number according to the locale and formatting options of this NumberFormat object.

Methods

Intl.NumberFormat.prototype.resolvedOptions()
Returns a new object with properties reflecting the locale and collation options computed during initialization of the object.

Specifications

Specification Status Comment
ECMAScript Internationalization API 1.0 (ECMA-402)
The definition of 'Intl.NumberFormat.prototype' in that specification.
Standard Initial definition.
ECMAScript Internationalization API 2.0 (ECMA-402)
The definition of 'Intl.NumberFormat.prototype' in that specification.
Standard  
ECMAScript Internationalization API 3.0 (ECMA-402)
The definition of 'Intl.NumberFormat.prototype' in that specification.
Draft  

Browser compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support 24 29 (29) 11 15 No support
Feature Android Chrome for Android Firefox Mobile (Gecko) IE Phone Opera Mobile Safari Mobile
Basic support No support 26 No support No support No support No support

See also

Document Tags and Contributors

 Contributors to this page: fscholz, Mingun, Sheppy, Norbert
 Last updated by: fscholz,