---
title: currency
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/locale/components/currency
---

# currency

The currency used by the locale.

## Declaration

```swift
var currency: Locale.Currency?
```

## Discussion

Discussion Set this property to override the locale’s default currency. To request the default currency used by the locale, use the Locale property currency. This property corresponds to the cu key of the Unicode BCP 47 extension.

## See Also

### Specifiying measurement and counting components

- [Locale.Currency](foundation/locale/currency-swift.struct.md)
- [measurementSystem](foundation/locale/components/measurementsystem.md)
- [Locale.MeasurementSystem](foundation/locale/measurementsystem-swift.struct.md)
- [numberingSystem](foundation/locale/components/numberingsystem.md)
- [Locale.NumberingSystem](foundation/locale/numberingsystem-swift.struct.md)
