Hey,
For my current project I need to have hex to dec and oct to dec converters. I've manged to make my own, but it only works with positive numbers (basically all I've done is convert the hex number to its binary equivilant, then convert that to decimal - ok it's not perfect but it works for me).
So, any ideas on how to achieve this?
Base Conversion: Hex and Oct to Decimal (w/negatives)
-
Killswitch
- Enthusiast

- Posts: 731
- Joined: Wed Apr 21, 2004 7:12 pm
Base Conversion: Hex and Oct to Decimal (w/negatives)
~I see one problem with your reasoning: the fact is thats not a chicken~