不過因為replace 一定要是字串,所以最好是在做一個轉換成字串後再丟到replace 的動作。 let num2=num1.toString().replace(comma, ',').
確定! 回上一頁