Enumeration

NumberFormatter.PadPosition

These constants are used to specify how numbers should be padded. These constants are used by the paddingPosition property.

Declaration

enum PadPosition : UInt

Topics

Constants

case beforePrefix

Specifies that the padding should occur before the prefix.

case afterPrefix

Specifies that the padding should occur after the prefix.

case beforeSuffix

Specifies that the padding should occur before the suffix.

case afterSuffix

Specifies that the padding should occur after the suffix.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software