Close
Close window
ordinal - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.
Maplesoft logo
Maplesoft logo

Online Help

All Products Maple MapleSim


[フレーム] [フレーム]

convert/ordinal

convert an integer to an ordinal string

Calling Sequence

convert( n, 'ordinal' )

Parameters

n

-

an integer

Description

Conversion of an integer to an ordinal produces a string indicating the ordinal representation of the given integer n.

Examples

>

convert0,ordinal

0th

(1)
>

convert1,ordinal

first

(2)
>

convert2,ordinal

second

(3)
>

convert12,ordinal

12th

(4)
>

convert113,ordinal

113th

(5)
>

convert123,ordinal

123rd

(6)
>

convert7,ordinal

-7th

(7)

Compatibility

The convert/ordinal command was introduced in Maple 17.

For more information on Maple 17 changes, see Updates in Maple 17 .

See Also


Download Help Document

AltStyle によって変換されたページ (->オリジナル) /