Intl.NumberFormat.prototype
Die Intl.NumberFormat.prototype
Eigenschaft repräsentiert das Prototypobjekt für einen Intl.NumberFormat
Konstruktor.
Eigenschaftsattribute von Intl.NumberFormat.prototype |
|
---|---|
Schreibbar | nein |
Aufzählbar | nein |
Konfigurierbar | nein |
Beschreibung
Siehe NumberFormat
für eine Beschreibung von Intl.NumberFormat
Instanzen.
Intl.NumberFormat
Instanzen erben von Intl.NumberFormat.prototype
. Veränderungen am Prototypobjekt werden an alle Intl.NumberFormat
Instanzen vererbt.
Eigenschaften
Intl.NumberFormat.prototype.constructor
- Eine Referenz zu
Intl.NumberFormat
. Intl.NumberFormat.prototype.format
- Getter; gibt eine Funktion zurück, die eine Zahl nach den Sprach- und Formatierungsoptionen dieses
NumberFormat
Objektes formatiert.
Methoden
Intl.NumberFormat.prototype.formatToParts()
(en-US)- Gibt ein
Array
mit Objekten zurück, welche die Repräsentation des Zahlenstrings in Teilen enthalten, die für sprachsicheres Formatieren genutzt werden können. Intl.NumberFormat.prototype.resolvedOptions()
(en-US)- Gibt ein neues Objekt mit eigenschaften zurück, die Sprach- und Formatierungsoptionen enthält, die bei der Initialisierung des Objektes errechnet wurden.
Spezifikationen
Browserkompatibilität
No compatibility data found for javascript.builtins.Intl.NumberFormat.prototype
.
Check for problems with this page or contribute missing data to mdn/browser-compat-data.