Lua - Lua string to int conversion Code Example

The code for Lua string to int conversion

-- To conversion a string to an int in Lua
-- we use tonumber() function.
a = tonumber("10")
Code by IncludeHelp, on January 2, 2023 20:33

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.