Is there a way to add ranking characters automatically? I have a number, and I want to add 'st', 'nd', 'rd' or 'th' to it automatically. I had hoped that there would be an equivalent of the magic "number_format()" function.
Any clues?
If you look in the manual under is_numeric and you'll find a user contributed funtion "number_suffix()" that does this.
Tops! Thanks for that. My searching of the manual evidently not good enough...