---
title: FloatingPointFormatStyle.Percent
framework: foundation
role: symbol
role_heading: Structure
path: foundation/floatingpointformatstyle/percent
---

# FloatingPointFormatStyle.Percent

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

## Declaration

```swift
struct Percent
```

## Topics

### Creating a floating-point percent format style

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

### Customizing style behavior

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

### Formatting floating-point percent values

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

### Creating attributed strings

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

### Accessing style properties

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

### Parsing floating-point percent values

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

### Locating percent values in regular expressions

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

### Default Implementations

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

- [FloatingPointFormatStyle.Currency](foundation/floatingpointformatstyle/currency.md)
