회사에서 JSP 화면 작업을 하던 중 검색하던 정보를 기재하였습니다. // Syntax // number.toLocaleString(locales, options) let num = 1000000; let text = num.toLocaleString(); // 1,000,000 let num = 1000000; let text = num.toLocaleString("fi-FI"); // 1 000 000 let num = 1000000; let text = num.toLocaleString("en-US", {style:"currency", currency:"USD"}); // $1,000,000.00 위와 같은 방식처럼 사용할 수 있으며, 쉽고 간편하게 금액 표시가 가능해집니다. 참고사이트[https:..