Is there a cool slick way to determine which suffix goes at the end of a number (1st, 2nd, 3rd, 25th, etc.) besides a dozen if then statements after counting the char length of the number and subtracting all but the last digit to determine the final one, then adding the approriate suffix?
It seems like I should be able to take it's modulus by 10 to determine the last digit. Then (unless the number is between 6 and 20; which all take a 'th'). adding the suffix based on the modulus result.