Optional_properties: NumberFormatterPropertiesThe locale to use when formatting & parsing the number. If not specified, the current locale is used (see locale module).
The 3-letter ISO 4217 currency code (e.g "USD", "CAD"). Required when formatting a number using NumberFormat.CURRENCY or NumberFormat.ACCOUNTING.
The 3-letter ISO 4217 currency code (e.g "USD", "CAD"). Required when formatting a number using NumberFormat.CURRENCY or NumberFormat.ACCOUNTING.
The default format for formatting numbers. See utilities/format/number!NumberFormatter.format.
The default format for formatting numbers. See utilities/format/number!NumberFormatter.format.
Either a single format, or one of several possible formats that the input is expected to be in. If specified, the input must exactly match. The syntax is the same as for utilities/format/number!NumberFormatter.format.
Either a single format, or one of several possible formats that the input is expected to be in. If specified, the input must exactly match. The syntax is the same as for utilities/format/number!NumberFormatter.format.
The number of digits to show after the decimal point. If unspecified, an appropriate value is determined based on the locale and currency.
The number of digits to show after the decimal point. If unspecified, an appropriate value is determined based on the locale and currency.
Protected_getThe property keys and their metadata that are used to implement serializing and deserializing the class instance.
Protected_toConverts the value to a PropertyDef object.
The value to convert.
Sets the properties for this item.
A plain object containing property values to set, keyed by property name.
Sets the properties for this item.
This version will also await any asynchronous logic that is needed to set the properties.
A plain object containing property values to set, keyed by property name.
See format.
Gets the default value of an object's property.
The property of the object for which to get the default value.
Gets the object's default property values.
Returns the serializable properties.
Optional. If specified, only properties that support the given serialization mode will be returned.
See parse.
Returns a serializable representation of the item.
If specified, only properties that are appropriate for the given mode are returned. Otherwise, all properties will be serialized.
A helper class for formatting and parsing numbers.