/* 千位分隔符 /
function setNoSeparate (no) {
let num = no || 0;
let numArr = num.toString().split(’.’);
let integers = numArr[0].replace(/\B(?=(\d{3})+KaTeX parse error: Expected 'EOF', got '}' at position 108: …ls : integers; }̲ /* 取消千位分隔符 */ …) | (^-?[1-9][0-9] ) ∣ ( − ? 01 ) | (^-?0{1} )∣(</
js方法-千位符 + 是否是数字
最新推荐文章于 2023-03-30 14:44:15 发布
![](https://img-home.csdnimg.cn/images/20240611030827.png)