Use the toFixed() method to format a number to 2 decimal places, e.g. num.toFixed(2) . The toFixed method takes a parameter, representing how ...
確定! 回上一頁