Lua 的math库 ; modf. 取整数和小数部分. math.modf(20.12). 20 0.12 ; randomseed. 设随机数种子. math.randomseed(os.time()).
確定! 回上一頁