Hey, this isn't rocket science, but it took me a good twenty minutes of thought.. I think this should cover all positive integers from 0-infinity.

VB Code:
  1. Private Function addsuffix(ByVal num As Integer) As String
  2.         Dim suff As String
  3.         If num < 0 Then Return "Error"
  4.         If num < 20 Then
  5.             Select Case num
  6.                 Case 1 : suff = "st"
  7.                 Case 2 : suff = "nd"
  8.                 Case 3 : suff = "rd"
  9.                 Case 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19 : suff = "th"
  10.             End Select
  11.         Else
  12.             Select Case Convert.ToString(num).Chars(Convert.ToString(num).Length - 1)
  13.                 Case "1" : suff = "st"
  14.                 Case "2" : suff = "nd"
  15.                 Case "3" : suff = "rd"
  16.                 Case Else : suff = "th"
  17.             End Select
  18.         End If
  19.         AddSuffix = Convert.ToString(num) + suff
  20. End Function

Bill