To convert from Hexadecimal to Decimal we multiply the value in each position by its hex weight and add each value. To convert decimal to hexadecimal, the typical method is repeated division by 16. We divide the decimal number by 16 and write the remainder on the side as the least significant digit

Files Recovery Software
Home Contact Details Customer Support Download Demo Products  

 
 

Hexadecimal to Decimal Conversion

To convert from Hexadecimal to Decimal we multiply the value in each position by its hex weight and add each value.

Let us take an example to better understand the procedure. Assume that we have any hexadecimal number 3ABE to be converted to its equivalent decimal number. Then the procedure will be as follows:

3*163 + A*162 + B*161 + E*160

= 3* 4096 + 10* 256 + 11*16 + 14

= 12288 + 2560 + 176 + 14

= 15038

Thus the equivalent decimal number for the hexadecimal number 3ABE is 15038.

Decimal to Hexadecimal Conversion

To convert decimal to hexadecimal, the typical method is repeated division by 16. For this method, we divide the decimal number by 16 and write the remainder on the side as the least significant digit.

This process is continued by dividing the quotient by 16 and writing the remainder until the quotient is 0. When performing the division, the remainders which will represent the hex equivalent of the decimal number are written beginning at the least significant digit (right) and each new digit is written to the next more significant digit (the left) of the previous digit.

Let us learn it with example. We take the decimal number 15038 which we got after conversion above. By this we can also check the above conversion and vice-versa.


Division

Quotient

Remainder

Hex Number

15038 / 16

939

14 (E H)

E

939 / 16

58

11 (B H)

BE

58 / 16

3

10 (A H)

ABE

3 / 16

0

3 (3 H)

03ABE


Previous page

page 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20

 
 

page 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28

Next page
 
 
Data Recovery Book
 
Chapter 1 An Overview of Data Recovery
Chapter 2 Introduction of Hard Disks
Chapter 3 Logical Approach to Disks and OS
Chapter 4 Number Systems
Chapter 5 Introduction of C Programming
Chapter 6 Introduction to Computer Basics
Chapter 7 Necessary DOS Commands
Chapter 8 Disk-BIOS Functions and Interrupts Handling With C
Chapter 9 Handling Large Hard Disks
Chapter 10 Data Recovery From Corrupted Floppy
Chapter 11 Making Backups
Chapter 12 Reading and Modifying MBR with Programming
Chapter 13 Reading and Modifying DBR with Programming
Chapter 14 Programming for “Raw File” Recovery
Chapter 15 Programming for Data Wipers
Chapter 16 Developing more Utilities for Disks
Appendix Glossary of Data Recovery Terms
 
 
Pro Data Doctor

Home

Products

Contact Details

Customer Support

Download Demo

Terms and Conditions

 
Pro Data Doctor