Jungle.Inflexor v0.1.3 Jungle.Inflexor.Ordinalize View Source

Link to this section Summary

Functions

Turns a number into an ordinal string used to denote the position in an ordered sequence such as 1st, 2nd, 3rd, 4th

Link to this section Functions

Turns a number into an ordinal string used to denote the position in an ordered sequence such as 1st, 2nd, 3rd, 4th.

Examples

iex> Jungle.Inflexor.ordinalize(1)
"1st"