tostring(argument)
-- store the number 32 in myAge
local
myAge = 32
-- explicitly convert the number to a string
local
myString =
tostring
(myAge)
fibaro:debug
(
"You are "
.. myString ..
" years old."
)
tonumber
Lua reference manual 5.2: tostring