---
title: currency
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/locale/currency-swift.property
---

# currency

The currency used by the locale.

## Declaration

```swift
var currency: Locale.Currency? { get }
```

## Discussion

Discussion This property corresponds to the cu key of the Unicode BCP 47 extension. For locale instances created with the cu specifier (such as en-US@cu=cad), or with a custom Locale.Components, this property represents the custom currency. Otherwise, it represents the locale’s default currency.

## See Also

### Getting measurement and counting components

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