toOrdinalWord
Returns the written-out ordinal word for numbers 1–20. Falls back to numeric ordinal (e.g. "21st") for larger values. Example: 3.toOrdinalWord() → "third" Example: 25.toOrdinalWord() → "25th"
Returns the written-out ordinal word for numbers 1–20. Falls back to numeric ordinal (e.g. "21st") for larger values. Example: 3.toOrdinalWord() → "third" Example: 25.toOrdinalWord() → "25th"