In stead of: %TPooped $+ th You could use $ord(%TPooped)
The $ord identifier will give the number the proper suffix. E.g. 123rd 234th 921st