const points = 13.23
print("The point is" + String(points))
output
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
points = 13.23
print("The point is" .. String(nil, points))
expected
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
points = 13.23
print("The point is" .. tostring(points))
Here's the playground thing
https://typescripttolua.github.io/play#code/MYewdgzgLgBADiAlmKEYF4YEYDMA6AJhwCg4AnZKACgCIAVACwFN4kUZEIaYBqGAZSgUwAcyoJKEAJRSgA
output
expected
Here's the playground thing
https://typescripttolua.github.io/play#code/MYewdgzgLgBADiAlmKEYF4YEYDMA6AJhwCg4AnZKACgCIAVACwFN4kUZEIaYBqGAZSgUwAcyoJKEAJRSgA