<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -",
    "tvOS: 15.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 8.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/FormatStyle/percent-8izzv",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "s:10Foundation11FormatStylePA2A07IntegerbC0V7PercentVys5UInt8V_GRszrlE7percentAJvpZ"
  },
  "title" : "percent"
}
-->

# percent

A style for formatting 8-bit unsigned integers as a percent representation.

```
static var percent: IntegerFormatStyle<UInt8>.Percent { get }
```

## Discussion

Use this type property when the call point allows the use of [`IntegerFormatStyle`](/documentation/Foundation/IntegerFormatStyle). You typically do this when calling the `formatted` methods of types that conform to <doc://com.apple.documentation/documentation/Swift/BinaryInteger>.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)