---
title: "currency(code:)"
framework: foundation
role: symbol
role_heading: Type Method
path: "foundation/parseableformatstyle/currency(code:)"
---

# currency(code:)

## Declaration

```swift
static func currency(code: String) -> Self
```
