otoa

sefun
SYNOPSIS
    string otoa (int num, void|int mode)

DESCRIPTION
    Convert an ordinal <num>ber into a string.
    <mode> == 0 uses the angloan verbose representation for the first twenty
      numbers (2 -> "second") and the numeric for the others (42 -> "42nd").
    <mode> == 1 uses the angloan numeric representation for all numbers.
    <mode> == 2 uses the european numeric representation for all numbers
      (42 -> "42.").

SEE ALSO
    atoi(SEFUN), itoa(SEFUN), itoa(SEFUN)