Back

ordinal (clj)

(source)

function

(ordinal num)
Converts an integer to its ordinal as a string. 1 is '1st', 2 is '2nd', 3 is '3rd', etc.

Examples