---
title: "decimalSeparator(strategy:)"
framework: foundation
role: symbol
role_heading: Instance Method
path: "foundation/integerformatstyle/currency/decimalseparator(strategy:)"
---

# decimalSeparator(strategy:)

Modifies the format style to use the specified decimal separator display strategy.

## Declaration

```swift
func decimalSeparator(strategy: IntegerFormatStyle<Value>.Currency.Configuration.DecimalSeparatorDisplayStrategy) -> IntegerFormatStyle<Value>.Currency
```

## Parameters

- `strategy`: The decimal separator display strategy to apply to the format style.

## Return Value

Return Value An integer currency format style modified to use the specified decimal separator display strategy.

## See Also

### Customizing style behavior

- [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)
