SimpleScript

Documentation - S.number_ordinal

Use

s.number_ordinal(integer)

Description

Returns a string with ordinal form of the supplied integer. Returns as something like "2nd" or "7th".

Example

v.second = s.number_ordinal(2)
s.echo(v.second)