“lua string to number” Code Answer's ; 1. local a = "10" ; 2. print(type(a)) ; 3. local num = tonumber(a) ; 4. print(type(num)) ; 5. .
確定! 回上一頁