convert/ordinal
convert an integer to an ordinal string
Calling Sequence
Parameters
Description
Examples
Compatibility
convert( n, 'ordinal' )
n
-
an integer
Conversion of an integer to an ordinal produces a string indicating the ordinal representation of the given integer n.
convert0,ordinal
0th
convert1,ordinal
first
convert2,ordinal
second
convert12,ordinal
12th
convert113,ordinal
113th
convert123,ordinal
123rd
convert−7,ordinal
-7th
The convert/ordinal command was introduced in Maple 17.
For more information on Maple 17 changes, see Updates in Maple 17.
See Also
convert/string
Download Help Document