---
title: FloatingPointFormatStyle.Currency
framework: foundation
role: symbol
role_heading: Structure
path: foundation/floatingpointformatstyle/currency
---

# FloatingPointFormatStyle.Currency

A format style that converts between floating-point currency values and their textual representations.

## Declaration

```swift
struct Currency
```

## Topics

### Creating a floating-point currency style

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

### Customizing style behavior

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

### Formatting floating-point currency values

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

### Creating attributed strings

- [attributed](foundation/floatingpointformatstyle/currency/attributed.md)
- [FloatingPointFormatStyle.Attributed](foundation/floatingpointformatstyle/attributed-swift.struct.md)

### Accessing style properties

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

### Applying measurement styles

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

### Applying list styles

- [ListFormatStyle](foundation/listformatstyle.md)

### Parsing floating-point currency values

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

### Locating currency values in regular expressions

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

### Instance Methods

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

### Default Implementations

- [CustomConsumingRegexComponent Implementations](foundation/floatingpointformatstyle/currency/customconsumingregexcomponent-implementations.md)
- [FormatStyle Implementations](foundation/floatingpointformatstyle/currency/formatstyle-implementations.md)
- [ParseableFormatStyle Implementations](foundation/floatingpointformatstyle/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)
