Lua string to int. Use the tonumber function. As in a = tonumber("10") . You can force an implicit conversion by using a string in an arithmetic operations ...
確定! 回上一頁