如何在Lua中將字符串轉換為整數? ... local function ToInteger(number) return math.floor(tonumber(number) or error('Could not cast '' .. tostring(number) .
確定! 回上一頁