์ ์ํ์ ๋ํด์๋ ์๋ฌด๋ฐ ๋ฌธ์ ๊ฐ ๋ฐ์ํ์ง ์์ผ๋, ์์์ ์ด ์๋ ์ค์ํ์ ๊ฒฝ์ฐ์๋ ์ค๋ฅ๊ฐ ๋ฐ์ํ๊ฒ ๋๋ค. toString().replace(/\B(?=(\d{3})+(?!\d))/g, ","); 1. ํจ์ function numberWithCommas(x) { return x.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ","); } 2. td ๊ฐ์ ์ฝค๋ง๋ฅผ ์ฐ์ ๊ฒฝ์ฐ jquery $("#id๋ช ").text().toString().replace(/\B(?=(\d{3})+(?!\d))/g, ","); javascript document.getElementById('id๋ช ').innerText.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",..