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.
convert⁡0,ordinal
0th
convert⁡1,ordinal
first
convert⁡2,ordinal
second
convert⁡12,ordinal
12th
convert⁡113,ordinal
113th
convert⁡123,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