Can someone give me an algorithm to convert binary to decimal format? I've been trying for days to get one to work and I can't find one to work. Thanks are greatly given to any solutions.
Printable View
Can someone give me an algorithm to convert binary to decimal format? I've been trying for days to get one to work and I can't find one to work. Thanks are greatly given to any solutions.
First of all, people on this board don't generally just write the code for someone else. If you post what you have that you can't get to work, then we'll try to help.
Second, you could probably search the board and actually find an algorithm anyways.
do you understand binary? if so, the algorithm should be simple. (if not, you're kinda stuffed as a programmer :D )
break it down into steps, and then post where you're having trouble.