---
title: Decimal.FormatStyle.Percent
framework: foundation
role: symbol
role_heading: Structure
path: foundation/decimal/formatstyle/percent
---

# Decimal.FormatStyle.Percent

A format style that converts between decimal percentage values and their textual representations.

## Declaration

```swift
struct Percent
```

## Topics

### Creating a decimal percent format style

- [init(locale:)](foundation/decimal/formatstyle/percent/init(locale:).md)

### Customizing style behavior

- [decimalSeparator(strategy:)](foundation/decimal/formatstyle/percent/decimalseparator(strategy:).md)
- [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)

### Formatting decimal percent values

- [format(_:)](foundation/decimal/formatstyle/percent/format(_:).md)

### Creating attributed strings

- [attributed](foundation/decimal/formatstyle/percent/attributed.md)
- [Decimal.FormatStyle.Attributed](foundation/decimal/formatstyle/attributed-swift.struct.md)

### Accessing style properties

- [locale](foundation/decimal/formatstyle/percent/locale.md)

### Parsing decimal percent values

- [parseStrategy](foundation/decimal/formatstyle/percent/parsestrategy.md)

### Locating decimal values in regular expressions

- [consuming(_:startingAt:in:)](foundation/decimal/formatstyle/percent/consuming(_:startingat:in:).md)

### Default Implementations

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

## See Also

### Supporting types

- [Decimal.FormatStyle.Currency](foundation/decimal/formatstyle/currency.md)
