I have the following :
value = 15123;
value.ToString("#,0K", System.Globalization.CultureInfo.CurrentUICulture);
The output of this is : 15.199K
But I want it to output the following : 15.1K
I sincerely don't understand how to get it. I am trying to accomplish the same number format that stackoverflow has, regarding feedback scoring.
US Example :
9823 = 9,823
10198 = 10,1K
Spain Example :
9823 = 9.823
10198 = 10.1K
Thanks