[AIT logo]

Institut für Astronomie und Astrophysik

Abteilung Astronomie

Waldhäuser Str. 64, D-72076 Tübingen, Germany
[Uni logo]


ORDINAL Source code in ordinal.pro

ORDINAL

Name
       ORDINAL
Purpose
       Convert an integer to a correct English ordinal string:
Explanation
       The first four ordinal strings are "1st", "2nd", "3rd", "4th" ....
Calling Sequence
       result = ordinal( num )
Input Parameters
       num = number to be made an ordinal.  If float, will be FIXed.
Output Parameters
       result = string such as '1st' '3rd' '164th' '87th', etc.
Revision History
       Written by R. S. Hill, STX, 8 Aug. 1991
       Converted to IDL V5.0   W. Landsman   September 1997

Last modified by pro2html on 2001 April 26 at 03:14 UTC

[Home Page] [Software, Documentation] [IDL Documentation] [Quick Reference] [Feedback]

Jörn Wilms (wilms@astro.uni-tuebingen.de)
Updated automatically