---
title: IntegerFormatStyle.Percent
framework: foundation
role: symbol
role_heading: Structure
path: foundation/integerformatstyle/percent
---

# IntegerFormatStyle.Percent

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

## Declaration

```swift
struct Percent
```

## Topics

### Creating an integer percent format style

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

### Customizing style behavior

- [decimalSeparator(strategy:)](foundation/integerformatstyle/percent/decimalseparator(strategy:).md)
- [grouping(_:)](foundation/integerformatstyle/percent/grouping(_:).md)
- [locale(_:)](foundation/integerformatstyle/percent/locale(_:).md)
- [notation(_:)](foundation/integerformatstyle/percent/notation(_:).md)
- [precision(_:)](foundation/integerformatstyle/percent/precision(_:).md)
- [rounded(rule:increment:)](foundation/integerformatstyle/percent/rounded(rule:increment:).md)
- [scale(_:)](foundation/integerformatstyle/percent/scale(_:).md)
- [sign(strategy:)](foundation/integerformatstyle/percent/sign(strategy:).md)
- [IntegerFormatStyle.Percent.Configuration](foundation/integerformatstyle/percent/configuration.md)
- [NumberFormatStyleConfiguration](foundation/numberformatstyleconfiguration.md)

### Formatting integer percent values

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

### Creating attributed strings

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

### Accessing style properties

- [locale](foundation/integerformatstyle/percent/locale.md)

### Parsing integer percent values

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

### Locating percent values in regular expressions

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

### Default Implementations

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

### Applying percentage styles for integers

- [percent](foundation/formatstyle/percent-cl9k.md)
- [percent](foundation/formatstyle/percent-9pj79.md)
- [percent](foundation/formatstyle/percent-7r4rl.md)
- [percent](foundation/formatstyle/percent-3qjzh.md)
- [percent](foundation/formatstyle/percent-1f0q.md)
- [percent](foundation/formatstyle/percent-934se.md)
- [percent](foundation/formatstyle/percent-8izzv.md)
- [percent](foundation/formatstyle/percent-4kdme.md)
- [percent](foundation/formatstyle/percent-2f11j.md)
- [percent](foundation/formatstyle/percent-8bxla.md)
