Enumeration Case
NumberFormatter.Style.currency
A currency style format that uses the currency symbol defined by the number formatter locale.
SDKs
- iOS 2.0+
- macOS 10.4+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
Discussion
For example, in the en_US locale, the number 1234.5678 is represented as $1,234.57; in the fr_FR locale, the number 1234.5678 is represented as 1 234,57 €.
See Also
Formatting Styles
case spellOut
A style format in which numbers are spelled out in the language 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.
case currencyPlural
A currency style format that uses the pluralized denomination defined by the number formatter locale.