DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR LUA
string to int lua
local a = "10" print(type(a)) local num = tonumber(a) print(type(num))
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#string
#int
#lua
ADD COMMENT
Topic
COMMENT
Name
4+8 =
Submit