Represents 10 types of digits from 0 to 9, so the base of the number system is 10. This is the most familiar number system with everyone. Similar to other number system, value of digit depends upon the position occupied in the number.

Decimal to binary conversion

Steps:

- Divide the number by two and keep track of the remainder.
- Stop when quotient reaches to zero.
- Arrange these remainders horizontally from bottom to top.
- For fraction part it is multiplied by 2 and keeping track of integers generated.
- Arrange these integers as they are generated.

Example:

Convert (38.625)_{10} into binary

(38.625)_{10} = (100110.101)_{2}

Decimal to octal conversion

Steps:

- Same as decimal to binary conversion but it is divided by 8 to integer part and multiplied by 8 to fractional part.

Example:

Convert (180.6875)_{10} to octal

(180.6875)_{10} = (264.54)_{8}

Decimal to hexadecimal conversion

Steps:

- Same as above but divide by 16 for integer part and multiply by 16 to fractional part.

Example:

Convert (90.675)_{10} to hexadecimal

(90.675)_{10} = (5F.A)_{16}

I don't think you need a tip on decimal number system, as you know it.

Terms of Use | Privacy Policy | Contact Us | Advertise

CodesandTutorials © 2014 All Rights Reserved