An integer representation.
SDKs
- iOS 2.0+
- macOS 10.4+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
Framework
- Foundation
Declaration
case none = 0
Discussion
For example, the number 1234.5678 is represented as 1235.
An integer representation.
SDKs
Framework
case none = 0
For example, the number 1234.5678 is represented as 1235.
case decimal
A decimal style format.
case percent
A percent style format.
case scientific
A scientific style format.
case spell Out
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 currency Accounting
An accounting currency style format that uses the currency symbol defined by the number formatter locale.
case currency ISOCode
A currency style format that uses the ISO 4217 currency code defined by the number formatter locale.
case currency Plural
A currency style format that uses the pluralized denomination defined by the number formatter locale.