locale(_:)
Modifies the measurement format style to use the specified locale.
Declaration
func locale(_ locale: Locale) -> Measurement<UnitType>.FormatStyleParameters
- locale:
The locale to use when formatting a measurement.
Return Value
A measurement format style with the specified locale.