ASP.NET

asp.net- 숫자 자릿수 콤마찍기

이빛나리 2011. 4. 7. 18:18
int testNum = 1000;
testNum  = String.Format("{0:n0}", testNum );
Response.Write(testNum);

예상되는 출력: 1,000