local a = "5" local numbera = tonumber(a) --is now an integer
local str = '10.7' local num = tonumber(str)
local a = "10" print(type(a)) local num = tonumber(a) print(type(num))