項目中出現金額的四則運算精度錯誤問題,引入math.js來解決,並封裝四則運算方法。 ... math.subtract(math.bignumber(a),math.bignumber(b));.
確定! 回上一頁