在Lua 5.2及之前的版本中,所有的數值都以雙精度浮點格式表示 ... function round(x) local f = math.floor(x) if x == f then return f else return ...
確定! 回上一頁