轉換數字時有三種較常見的方法,分別為parseInt、parseFloat 與Number,今天就來簡單認識一下這三種方法及其差異吧。 Outline * parseInt() * parseFloat() * Number()
確定! 回上一頁