Project

General

Profile

$ord » History » Revision 2

Revision 1 (Per Amundsen, 08/06/2015 02:51 AM) → Revision 2/3 (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* 

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