Answers for "lua parse string as int"

Lua
1

string to int lua

local a = "10"
print(type(a))
local num = tonumber(a)
print(type(num))
Posted by: Guest on July-15-2021

Browse Popular Code Answers by Language