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