Author Topic: Numeric Systems  (Read 2204 times)


  • Guest
Numeric Systems
« on: February 09, 2008, 06:43:10 pm »
hi there

i want to design a program for converting between numeric systems (Hex to decimal) originally

and this is an exampla of the code i wanna convert


can any one help me coding it

thank you


  • Guest
Re: Numeric Systems
« Reply #1 on: February 16, 2008, 07:55:40 am »
The conversion is easy. Convert 0-9,A-F to integer 0-15. Multiply the previous result by 16 and add. Finding a place to store a number that big so you can do math on it is the tough part. Bignum libraries handle the chore but may be more than you need. You might be able to adapt the simple math that calculates CD keysto what you need.