I found myself in need of a function to get the ordinal suffix for any number. Naturally, I googled and found some examples out there but they all seemed to have many lines of code and I felt an uncontrollable urge to see if I could condense it down to one line. I jumped on over to trycf.com and fiddled around for a bit and I came up with this:

[More]

Comments (Comment Moderation is enabled. Your comment will not appear until approved.)