lua how to convert integer to string code example Example: lua integer to string print(tostring(5)) --Outputs: "5" as a string