tonumber

LUA

tonumber

tonumber (E [, BASE])

Converts E to a number using optional BASE.Returns nil if unsuccessful. BASE can be an integer from 2 to 36 denoting [0-9A-Z]. In decimal, a fractional part and an exponent may be included. In other bases, only unsigned integers are accepted.