Math.round(3.141592654) // 3. parseInt() 去掉小数点和小数点后的部分. parseInt(3.141592654) // 3. ~~ 将数据转化为Number类型.
確定! 回上一頁