const num = 8740000; const won = num.toLocaleString("ko-KR", { style: "currency", currency: "KRW"}); const dollar = num.toLocaleString("en-US",{ style: "currency", currency: "USD", }); const euro = num.toLocaleString("de-DE",{ style: "currency", currency: "EUR", }); console.log("won: ", won, "/", "dollar:", dollar, "/", "euro:", euro); 결과 - 여기서 style 옵션을 사용하지 않으면 해당 데이터에 천단위마다 콤마가 찍힌 문자열이 반환된다. ..