摘要: function Calculation(type, num1, num2) { var temp1, temp2, a; try { // 获取temp1小数点后的长度 temp1 = num1.toString().split(".")[1].length; } catch (e) { temp 阅读全文