格式化数据(过滤器)

1、 数字格式化,每三位加逗号    正则表达式:    /\d{1,3}(?=(\d{3})+(\.\d*)?$)/g

  

猜你喜欢

转载自www.cnblogs.com/wfblog/p/9182682.html