Tag Archives: ordinal

Ordinal numbers in javaScript

I came across a need to display numbers with “ordinals” (1st, 2nd, 3rd, 4th, etc.) in one of our pages at Foxsports.com.

I didn’t see any scripts out there that did the mathematics for this properly, so I created one that works pretty well. Check it out! Continue reading

Posted in JavaScript | Tagged , , , | Leave a comment