Conversion between arbitrary radix