---
title: currency
framework: datadetection
role: symbol
role_heading: Instance Property
path: datadetection/ddmatchmoneyamount/currency
---

# currency

A string that contains an ISO currency code, which the data detection system identifies from the matched string and user preferences.

## Declaration

```swift
var currency: String { get }
```

## See Also

### Getting money information

- [amount](datadetection/ddmatchmoneyamount/amount.md)
