// 浮点数精度问题
//减法 其他方法以此类推

floatRemove(val, ele) {
let b = val.toString().split(".")[1];
let d = ele.toString().split(".")[1];
let num = 0;
//以防不是小数报错
b ? (b = Math.pow(10, b.length)) : (b = 0);
d ? (d = Math.pow(10, d.length)) : (d = 0);
b > d ? (num = b) : (num = d);
if (num == 0) {
num = 1;
}
return (val * num - ele * num) / num;
},