Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Convert integers to strings representing ranks: 1st, 2nd, 3rd, etc.
ResourceFunction["OrdinalNumberString"][n] generates a string representing the ordering position n ("1st", "2nd", "3rd", etc.). |
The first ordinal:
In[1]:= |
Out[1]= |
All positive integers are supported:
In[2]:= |
Out[2]= |
Wolfram Language 11.3 (March 2018) or above
This work is licensed under a Creative Commons Attribution 4.0 International License