Answers for "convert a number to string lua"

Lua
2

lua integer to string

print(tostring(5)) --Outputs: "5" as a string
Posted by: Guest on January-10-2021
0

convert number to string lua

print(tostring(10)) -- "10"
print(tostring(10.0)) -- "10.0"
Posted by: Guest on June-15-2021

Browse Popular Code Answers by Language