source base = 2
value = 1001 (9 in base 10)
target base = 10
new representation = 9


source base = 16
value = 1FA (4346 in base 10)
target base = 8
new representation = 10372E

Where is your code that is not working? Please be sure to use the (CODE) button!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.