[C#_source] 숫자 3자리 마다 (,) 콤마
int won = 123456890;Console.WriteLine(string.Format("{0:n0}", won));Console.WriteLine(string.Format("{0}", won.ToString("n0"))); ;Console.WriteLine(string.Format("{0:#,##0}", won));Console.WriteLine(string.Format("{0}", won.ToString("#,##0"))); //결과//123,456,890//123,456,890//123,456,890//123,456,890 출처 : http://ramses8.tistory.com/397
2016.04.19