Lua Programming/How to Lua/tonumber

The tonumber function can be used to convert a string to a number:

print (tonumber ("35") * 2)
Last modified on 9 March 2011, at 20:22