在js中进行以元为单位进行金额计算时使用parseFloat会产生精度问题var price = 10.99; var quantity = 7; var needPay = parseFloat.
確定! 回上一頁