ordinals
=> RE: ordinals
What output format do you need?__Kathleen__R&R Support
==> RE: ordinals
____like 1 as 1st, 2 as 2nd, 3 as 3rd and so on.____
===> RE: ordinals
Create a user defined function called Ordinal with the declaration:__Ordinal(n_value)____and expression:__ltrim(str(value)+case(right(str(value),2),"11","th","12","th","13","th",case(right(str(value),1),"1","st","2","nd","3","rd","th")))____You can then use the function named Ordinal to convert a numeric value to an ordinal string.____Kathleen__R&R Support