天天寫程式
html5,javascript,css3,php,objectiveC,actionscript,node
2007/7/20
浮點數變整數
直接使用
int(浮點數);
負數時
int(-3.7)
會回傳-3
沒有留言:
張貼留言
較新的文章
較舊的文章
首頁
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言