---
title: IntegerFormatStyle.Currency
framework: foundation
role: symbol
role_heading: Structure
path: foundation/integerformatstyle/currency
---

# IntegerFormatStyle.Currency

A format style that converts between integer currency values and their textual representations.

## Declaration

```swift
struct Currency
```

## Topics

### Creating an integer currency format style

- [init(code:locale:)](foundation/integerformatstyle/currency/init(code:locale:).md)

### Customizing style behavior

- [decimalSeparator(strategy:)](foundation/integerformatstyle/currency/decimalseparator(strategy:).md)
- [grouping(_:)](foundation/integerformatstyle/currency/grouping(_:).md)
- [locale(_:)](foundation/integerformatstyle/currency/locale(_:).md)
- [precision(_:)](foundation/integerformatstyle/currency/precision(_:).md)
- [presentation(_:)](foundation/integerformatstyle/currency/presentation(_:).md)
- [rounded(rule:increment:)](foundation/integerformatstyle/currency/rounded(rule:increment:).md)
- [scale(_:)](foundation/integerformatstyle/currency/scale(_:).md)
- [sign(strategy:)](foundation/integerformatstyle/currency/sign(strategy:).md)
- [IntegerFormatStyle.Currency.Configuration](foundation/integerformatstyle/currency/configuration.md)
- [CurrencyFormatStyleConfiguration](foundation/currencyformatstyleconfiguration.md)

### Formatting integer currency values

- [format(_:)](foundation/integerformatstyle/currency/format(_:).md)

### Creating attributed strings

- [attributed](foundation/integerformatstyle/currency/attributed.md)
- [IntegerFormatStyle.Attributed](foundation/integerformatstyle/attributed-swift.struct.md)

### Accessing style properties

- [currencyCode](foundation/integerformatstyle/currency/currencycode.md)
- [locale](foundation/integerformatstyle/currency/locale.md)

### Applying measurement styles

- [Measurement.FormatStyle](foundation/measurement/formatstyle.md)

### Parsing integer currency values

- [parseStrategy](foundation/integerformatstyle/currency/parsestrategy.md)

### Locating currency values in regular expressions

- [consuming(_:startingAt:in:)](foundation/integerformatstyle/currency/consuming(_:startingat:in:).md)

### Instance Methods

- [notation(_:)](foundation/integerformatstyle/currency/notation(_:).md)

### Default Implementations

- [CustomConsumingRegexComponent Implementations](foundation/integerformatstyle/currency/customconsumingregexcomponent-implementations.md)
- [FormatStyle Implementations](foundation/integerformatstyle/currency/formatstyle-implementations.md)
- [ParseableFormatStyle Implementations](foundation/integerformatstyle/currency/parseableformatstyle-implementations.md)

## Relationships

### Conforms To

- [Copyable](swift/copyable.md)
- [CustomConsumingRegexComponent](swift/customconsumingregexcomponent.md)
- [Decodable](swift/decodable.md)
- [Encodable](swift/encodable.md)
- [Equatable](swift/equatable.md)
- [Escapable](swift/escapable.md)
- [FormatStyle](foundation/formatstyle.md)
- [Hashable](swift/hashable.md)
- [ParseableFormatStyle](foundation/parseableformatstyle.md)
- [RegexComponent](swift/regexcomponent.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
