---
title: "decimalSeparator(strategy:)"
framework: foundation
role: symbol
role_heading: Instance Method
path: "foundation/decimal/formatstyle/percent/decimalseparator(strategy:)"
---

# decimalSeparator(strategy:)

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

## Declaration

```swift
func decimalSeparator(strategy: Decimal.FormatStyle.Percent.Configuration.DecimalSeparatorDisplayStrategy) -> Decimal.FormatStyle.Percent
```

## Parameters

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

## Return Value

Return Value A decimal percent format style modified to use the specified decimal separator display strategy.

## See Also

### Customizing style behavior

- [grouping(_:)](foundation/decimal/formatstyle/percent/grouping(_:).md)
- [locale(_:)](foundation/decimal/formatstyle/percent/locale(_:).md)
- [notation(_:)](foundation/decimal/formatstyle/percent/notation(_:).md)
- [precision(_:)](foundation/decimal/formatstyle/percent/precision(_:).md)
- [rounded(rule:increment:)](foundation/decimal/formatstyle/percent/rounded(rule:increment:).md)
- [scale(_:)](foundation/decimal/formatstyle/percent/scale(_:).md)
- [sign(strategy:)](foundation/decimal/formatstyle/percent/sign(strategy:).md)
- [Decimal.FormatStyle.Percent.Configuration](foundation/decimal/formatstyle/percent/configuration.md)
- [NumberFormatStyleConfiguration](foundation/numberformatstyleconfiguration.md)
