Код
public static string CountToString(int count)
{
string strCount = count.ToString();
if (strCount.Length >= 4)
{
string s = strCount.Substring(1);
int t_remain = s.Length % 3;
int t_count = s.Length / 3;
s = s.Substring(0, t_remain);
StringBuilder sb = new StringBuilder();
sb.Append(strCount[0]);
for (int i = 0; i < t_remain; i++)
sb.Append(s[i]);
for (int i = 0; i < t_count; i++)
sb.Append("K");
strCount = sb.ToString();
}
return strCount;
}
Результат
1_050_500 => 1KK
101_050_500 => 101KK
150_500 => 150K
1_500 => 1K
600 => 600