Converts decimal numbers to other bases.