Jquery數字千位符格式化方法

data.replace(/(\d)(?=(?:\d{3})+$)/g, '$1,')
相關文章
相關標籤/搜索