Lua 中的所有数字都是浮点数( 编辑: Lua 5.2或更低)。如果您真的想转换为“int”(或至少复制此行为),您可以这样做: local function ToInteger(number) return ...
確定! 回上一頁