A simple numerical base converter.