Use the tonumber function. ... Lua string to int ... local function ToInteger(number) return math.floor(tonumber(number) or error("Could not cast ...
確定! 回上一頁