Contents

locale(_:)

Modifies the measurement format style to use the specified locale.

Declaration

func locale(_ locale: Locale) -> Measurement<UnitType>.AttributedStyle

Parameters

  • locale:

    The locale to use when formatting a measurement.

Return Value

A measurement format style with the specified locale.