Any decimal number can be converted to its hexadecimal equivalent.

**For integers**,conversion is obtained just by dividing number continuously by 16 and keeping track of remainders obtained .

**Example:
**

**( 260 )**

_{10}= ( ? )_{16 }**Solution:**

Firstly you should know,Now, Divide 260 by 16,

we get,Now ,quotient obtained from this division will become dividend in next step,

again, divide it with 16.( Keeping track of remainder)Now, at last stop dividing when dividend become less than the divisor.

Now write in following sequence,

First write the last dividend left and then write remainders obtained in reverse order .

As shown below,

This will be the final answer i. e. ( 1 0 4 )_{16
}You can write this in simple manner also, shown below,

answer will be** ( 1 0 4 ) _{16}**

**While for fractional part**the conversion is done by continuous multiplication by 16 and keeping track of the integers generated.See in given example,**,**

**Example:
**

**( 0.625 )**

_{10 }= ( ? )_{16 }**Solution:**

0.625 × 16 = 10.00 , integer obtained is 10

now,multiply the fractional part obtained with 16

.00 × 16 = 0 ,integer obtained 0.

now, we don’t have any fractional part left .So stop multiplying here.

Next step is , write down the integer obtained in the sequence they obtained after radix point ,as follows:

** = ( 0.10 0 ) _{16
}**In hexadecimal we write ( 10=A ,11=B,12= C,13=D,14 =E & 15 =F ) So,answer will be

=(0. A 0 )

_{16}=

**(0.A)**This is the way we can convert a decimal number into its hexadecimal equivalent form.

_{16 }

Another Example:

Another Example:

**( 95.5 )**

_{10}= ( ? )_{16 }**Solution:**

Integer part:Fractional part:

0.5 × 16 = 8.00 , integer obtained is 8

now,multiply the fractional part obtained with 16 again,

.00 × 16 = 0 ,integer obtained 0.

now, we don’t have any fractional part left.

**Answer:**

** = ( 5 15 . 8 0 ) _{16
}**In hexadecimal we write ( 10= A ,11=B, 12= C, 13=D, 14 =E & 15 =F ) So,answer will be

= ( 5 F. 8 )

= ( 5 F. 8 )

_{16 }