Contents

NumberFormatter.Style.ordinal

An ordinal style format.

Declaration

case ordinal

Discussion

For example, in the en_US locale, the number 3 is represented as 3rd; in the fr_FR locale, the number 3 is represented as 3e.

See Also

Formatting Styles