Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to convert integers to strings and vice versa?

Asked by
kjljixx 42
3 years ago

And yes, I am using it for comparisons so Lua won't automatically convert it.

0
tostring(123) - converts the given number to a string. tonumber("123") - converts the given string to a number, if the string doesn't resemble a number, the function will return nil. xInfinityBear 1777 — 3y

Answer this question