View Single Post
  #1 (permalink)  
Old June 11th, 2019, 02:00 AM
Louis5149 Louis5149 is offline
Banned
Points: 5, Level: 1
Points: 5, Level: 1 Points: 5, Level: 1 Points: 5, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2019
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Is there an easy way to create ordinals in C#?

Is there an easy way in C# to create Ordinals for a number? For example:

1 returns 1st
2 returns 2nd
3 returns 3rd
...etc

Can this be done through String.Format() or are there any functions available to do this?
Reply With Quote