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

- 04-09-2006xmltorrentDamn binary to decimal algorithm
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.

- 04-09-2006JaWiB
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. - 04-09-2006ChaosEngine
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.