■ 개발 정리/Jquery | javascript
숫자 3자리마다 콤마찍기 (정규식 사용)
파코키
2017. 12. 7. 09:47
(사용하고자 하는 숫자).toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",");