toFixed (2);. 或 for(var i = 0; i < elements.length; ++i){ total += parseFloat(elements[i].value * 100)/100).toFixed(2). 曾經也沒有 Math.floor.
確定! 回上一頁