Enumeration Case

NumberFormatter.Style.currencyPlural

A currency style format that uses the pluralized denomination defined by the number formatter locale.

Declaration

case currencyPlural = 9

Discussion

This style behaves like the NumberFormatter.Style.currency style, except that the currency symbol is replaced by the corresponding pluralized denomination. For example, in the en_US locale, the number 1234.5678 is represented as 1,234.57 US dollars; in the fr_FR locale, the number 1234.5678 is represented as 1 234,57 euros.

See Also

Formatting Styles

case none

An integer representation.

case decimal

A decimal style format.

case percent

A percent style format.

case scientific

A scientific style format.

case spellOut

A style format in which numbers are spelled out in the language defined by the number formatter locale.

case ordinal

An ordinal style format.

case currency

A currency style format that uses the currency symbol defined by the number formatter locale.

case currencyAccounting

An accounting currency style format that uses the currency symbol defined by the number formatter locale.

case currencyISOCode

A currency style format that uses the ISO 4217 currency code defined by the number formatter locale.