procedure exbase10: convert base 10 to arbitrary base procedure inbase10: convert arbitrary base to base 10 procedure radcon: convert between bases
link convert
March 19, 1998; Ralph E. Griswold
This file is in the public domain.
exbase10(i, j) converts base-10 integer i to base j. inbase10(s, i) convert base-i integer s to base 10. radcon(s, i, j) convert base-i integer s to base j. There are several other procedures related to conversion that are not yet part of this module.