javascript 怎麼將float強制轉換為int型別,1樓大野瘦子1 丟棄小數部分保留整數部分js parseint 7 2 2 向上取整有小數就整數部分加1 js math ceil.
確定! 回上一頁