GrabCount = 0 function onGrab() GrabCount = GrabCount + 1 --You can print without converting type. print(GrabCount) --Concatenation of string and number types print("Grab: "..GrabCount) --If an integer is assigned, it is a number type print("GrabCount is "..type(GrabCount).." type") -- Even if you run a computation with decimal, it will remain as a number type local num = GrabCount * 3.14159265 print(num) print("num is "..type(num).." type") --Declare as a string local char = "1234" print("char is "..type(char).." type") --Type conversion from string to number local conversion = tonumber(char) print("conversion is "..type(conversion).." type") end