---
title: currencyCode
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/numberformatter/currencycode
---

# currencyCode

The receiver’s currency code.

## Declaration

```swift
var currencyCode: String! { get set }
```

## Discussion

Discussion A currency code is a three-letter code that is, in most cases, composed of a region’s two-character Internet region code plus an extra character to denote the currency unit. For example, the currency code for the Australian dollar is “AUD”. Currency codes are based on the ISO 4217 standard.

## See Also

### Configuring the Format of Currency

- [currencySymbol](foundation/numberformatter/currencysymbol.md)
- [internationalCurrencySymbol](foundation/numberformatter/internationalcurrencysymbol.md)
- [currencyGroupingSeparator](foundation/numberformatter/currencygroupingseparator.md)
