I just realized that the pow() function can be used for converting bases....wow....