Rules are same, but use "st" for the end of the 1, except for 11, use "nd" for the end of the 2, except for 12, and use "rd" for the end of the 3, except for 13, the rest, use "th".
Credit to all! This took a long time to save.