Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR LUA

tostring lua

-- this Code Works For Roblox Lua

local Number = 10
local NumToString = tostring(Number)
local String = "hi"
local StringToString = tostring(String)

--Outputs (Types)
print(typeof(Number)) --Output: Number
print(typeof(NumToString)) -- Output: String
print(typeof(String)) --Output: String
print(typeof(StringToString)) -- Output: String
 
PREVIOUS NEXT
Tagged: #tostring #lua
ADD COMMENT
Topic
Name
3+4 =