init(locale:)
Creates a decimal percent format style that uses the given locale.
Declaration
init(locale: Locale = .autoupdatingCurrent)Parameters
- locale:
The locale to use when formatting or parsing decimal values. Defaults to Autoupdatingcurrent.