toFixed取两位小数不准四舍五入 2020-09-03 本文已影响0人 萬wan事顺意 var a=6.66666666; ( parseInt( a* 100 ) / 100 ).toFixed(2) //6.66;