Converts its argument to a string
Converts its argument to a string in a reasonable format. If a __tostring metatable field is found, that is used for the conversion.
Also see bit.tostring which will convert a number to a string of any base in the range 2 to 36.
See Also ...
assert - Asserts that condition is not nil and not false
Lua base functions
(Help topic: lua=tostring)
Enter a search string to find matching documentation.
Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.
Gammon Software support
Forum RSS feed ( https://gammon.com.au/rss/forum.xml )