Hi guys.
i'm new here.
English isn't my first language, so you'd have to forgive me for any mistakes you might find...
I couldn't find more suitable place to post it, and i hope this is the right forum for my question...
So, i want to be able to convert numbers from one base to another.
i know how to do it from any given (decimal) number, to any other base.
Say i want to convert the number 347:
So(the remainders).
and the other direction:
(the reason i'm showing the calculation here is because i would love to hear about a better, faster way to convert numbers from base to base)
my problem is:
i want to be able to convert numbers from base to base directly.
for example: if i want to convertto an octal, eight based number, i first need to convert to
, and only then i'm able to convert to an octal number.
is there a way to skip the decimal conversion part and go straight to the octal number?
if so, how can it be done?
thanks in advanced, and have a nice day!


2Thanks
LinkBack URL
About LinkBacks

