CurrencyFormatterOptions / PartialCurrencyFormatterOptions
Description
A CurrencyFormatterOptions
is an interface that extends the DecimalFormatterOptions
interface and which exposes properties to configure the behavior of a CurrencyFormatter
.
Properties
Property |
Type |
Default |
Description |
---|---|---|---|
precision? |
number |
2 |
The number of decimal digits to display. Setting it to undefined results in no specific precision. |
symbol |
string |
$ |
The symbol of the currency to display |
position |
Left |
The position of the symbol relative to the currency number |
Remarks
A partial type/interface is an object in which properties are optional.
Need help? Contact us!