qfw
This commit is contained in:
@@ -81,8 +81,8 @@ const formatMoney = function (s: string) {
|
||||
t += l[i] + ""; //加上空格
|
||||
}
|
||||
}
|
||||
let z:any = (noNegative ? "" : "-") + t.split("").reverse().join("")
|
||||
z = isNaN(z) ? 0 : z
|
||||
let z:any = (noNegative ? "" : "-") + t.split("").reverse().join("");
|
||||
// z = isNaN(z) ? 0 : z;
|
||||
if(r){
|
||||
return z+ "." + r;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user