As far as I think, toFixed(2) is a wonderful and simple way. Also,you could use Math to calculate. Just like this: var a = Math.round(( ...
確定! 回上一頁