Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Lua
lua string to number
Ojulong Aron.
Programming language:
Lua
2021-03-13 09:58:02
0
Q:
lua string to number
Masood
Code:
Lua
2021-09-06 23:34:59
local str = '10.7' local num = tonumber(str)
1
Tags
number
string
Related
lua add 1 to a variable
Lua numbers
lua wrap number
tostring lua
lua round number
to the power of in lua
New to Communities?
Join the community