Project

General

Profile

Actions

$ord » History » Revision 1

Revision 1/3 | Next »
Per Amundsen, 08/06/2015 02:51 AM


Added in 1.9.0

$ord(N)

Appends st, nd, rd, th as appropriate to the number N.

Parameters

N - The number to format.

Example

; Format number '12' which becomes '12th'
//echo -ag $ord(12)
</prE<

Updated by Per Amundsen over 8 years ago · 1 revisions

Also available in: PDF HTML TXT