CHR_NTH

Return the two-character ordinal abbreviation for a specified integer

Description:

Return the two character ordinal abbreviation (i.e. st, nd, rd, th) appropriate for the given integer value.

Invocation

RESULT = CHR_NTH( IVALUE )

Arguments

IVALUE = INTEGER (Given)
The integer for which the abbreviation is required.

Returned Value

CHR_NTH = CHARACTER ∗ 2
The appropriate two character abbreviation for the given integer value.