---
title: "init(locale:)"
framework: foundation
role: symbol
role_heading: Initializer
path: "foundation/integerformatstyle/percent/init(locale:)"
---

# init(locale:)

Creates an integer percent format style that uses the given locale.

## Declaration

```swift
init(locale: Locale = .autoupdatingCurrent)
```

## Parameters

- `locale`: The locale to use when formatting or parsing integers. Defaults to doc://com.apple.foundation/documentation/Foundation/Locale/autoupdatingCurrent.
