Rational base conversions

Rational support for base conversions, because why the hell not?