---
title: NumberFormatter.Style.currencyISOCode
framework: foundation
role: symbol
role_heading: Case
path: foundation/numberformatter/style/currencyisocode
---

# NumberFormatter.Style.currencyISOCode

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

## Declaration

```swift
case currencyISOCode
```

## Discussion

Discussion This style behaves like the NumberFormatter.Style.currency style, except that the currency symbol is replaced by the corresponding ISO 4217 currency code. For example, in the en_US locale, the number 1234.5678 is represented as USD1,234.57; in the fr_FR locale, the number 1234.5678 is represented as 1 234,57 EUR.

## See Also

### Formatting Styles

- [NumberFormatter.Style.none](foundation/numberformatter/style/none.md)
- [NumberFormatter.Style.decimal](foundation/numberformatter/style/decimal.md)
- [NumberFormatter.Style.percent](foundation/numberformatter/style/percent.md)
- [NumberFormatter.Style.scientific](foundation/numberformatter/style/scientific.md)
- [NumberFormatter.Style.spellOut](foundation/numberformatter/style/spellout.md)
- [NumberFormatter.Style.ordinal](foundation/numberformatter/style/ordinal.md)
- [NumberFormatter.Style.currency](foundation/numberformatter/style/currency.md)
- [NumberFormatter.Style.currencyAccounting](foundation/numberformatter/style/currencyaccounting.md)
- [NumberFormatter.Style.currencyPlural](foundation/numberformatter/style/currencyplural.md)
