NOTE: this package is not compatible with Elm 0.19.1
A library for converting integers (23, 0, -2) to ordinal strings ("23rd", "0th", "-2nd").
23
0
-2
"23rd"
"0th"
"-2nd"
Convert an integer into an ordinal number string (like "4th").
"4th"
ordinal 42 == "42nd" ordinal 0 == "0th" ordinal (-1) == "-1st"
Get the ordinal suffix (st/nd/rd/th) for a given integer.
ordinalSuffix 42 == "nd" ordinalSuffix 0 == "th" ordinalSuffix (-1) == "st"
Convert an integer into an ordinal number string (like
"4th").