Contents

NumberFormatter.Style.spellOut

A style format in which numbers are spelled out in the language defined by the number formatter locale.

Declaration

case spellOut

Discussion

For example, in the en_US locale, the number 1234.5678 is represented as one thousand two hundred thirty-four point five six seven eight; in the fr_FR locale, the number 1234.5678 is represented as mille deux cent trente-quatre virgule cinq six sept huit.

This style is supported for most user locales. If this style doesn’t support the number formatter locale, the en_US locale is used as a fallback.

See Also

Formatting Styles