text.toNumber

text.toNumber(string [, base ] )

Converts its string argument into a number. By default, the number is treated as a base 10 value; if the optional base is provided, the number is treated as being in the specified base. Bases from 2 to 36 are supported. Bases larger than 10 use the letters a through z to represent digits.

Was this page helpful? Yes No Submitting... Thank you

Comments