Possible Duplicate:
Format Number like StackoverFlow (rounded to thousands with K suffix)
How can I format numbers in C# so 12523.57 becomes "12K", 2323542.32 becomes "2M", etc?
I don't know how to append the correct number abbreviation (K, M, etc) and show the appropriate digits?
So,
1000 = 1K
2123.32 = 2K
30040 = 30k
2000000 = 2M
Is there a built in way in C# to do this?