That's why you can use larger base. In @ITWhisperer's example the base was 16 so no digit over "f" would be converted. But if you do tonumber("whatever",36), you'll be able to use whole a-z range. In general - tonumber() is designed to convert a string representation of a number to a number. You just need to give it a proper base.
... View more