Commit 29a4c878 authored by xishifeng's avatar xishifeng

public小数保留两位

parent 909ca13f
......@@ -142,7 +142,7 @@ function dealJineNum(num){
if(parseInt(num)==num || num.toString().split(".")[1].length < 4){
return num;
}else{
return Number((num).toFixed(3));
return Number((num).toFixed(2));
}
}else{
return 0;
......
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