separator-thousands
v1.1.0
Published
Format the value, convert it to a thousand separator, and return it.对数值进行格式转换为千位分隔符并返回字符串
Readme
介绍
introduce
var regexFunc = require('separator-thousands');
example one
let objFunc = new regexFunc("123123123123",".");
console.log(objFunc.get()); // '123.123.123.123'
example two
let objFunc = new regexFunc("123123123123");
console.log(objFunc.get()); // '123,123,123,123'
