Commit 9a66392d authored by liudong1993's avatar liudong1993

1

parent f3cbe1e8
......@@ -1461,6 +1461,7 @@ export default {
let x1 = x[0];
let x2 = x.length > 1 ? '.' + x[1] : '';
if(x2=='.00'){x2='';}
if(x2!=''&&x2.slice(-1)=='0'){x2=x2.replace('0','')}
var rgx = /(\d+)(\d{3})/;
while (rgx.test(x1)) {
x1 = x1.replace(rgx, '$1' + ',' + '$2');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment