Home »
Code Examples »
Lua Code Examples
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