mud/lib/doc/sefun/ordinal
2020-09-06 05:43:07 -07:00

28 lines
488 B
Plaintext

ORDINAL(1) ORDINAL(1)
NAME
ordinal() - returns the ordinal suffix for a number
SYNOPSIS
string ordinal(int x)
DESCRIPTION
Given an integer, this function returns the ordinal suffix
for the number.
EXAMPLES
o ordinal(7) returns "th"
LOCATION
/secure/sefun/english.c
SEE ALSO
cardinal()
Author
Descartes of Borg
1