0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz@_ is the digit character set you have to work with, this is base 64.
This program does number conversion from one base to another base, either base from can be 2-64.
The algorithm is outlined here.
- if there is an error because you used a character outside this character set, you will see the input box turn red when the focus leaves it and you will get 0 if you try it.
- if you put in a character outside the range of the base, you will get 0.
- if you try a number that is too big, this function will return something undetermined, maybe 0.