Contents

Formatter.UnitStyle

Specifies the width of the unit, determining the textual representation.

Declaration

enum UnitStyle

Overview

The unit is represented in the shortest notation available. For example, for English, when formatting “3 pounds”: Formatter.UnitStyle.long is “3 pounds”; Formatter.UnitStyle.medium is “3 lb”; Formatter.UnitStyle.short is “3#”.

Topics

Constants

Initializers

See Also

Constants