Showing posts with label Octal. Show all posts
Showing posts with label Octal. Show all posts

Sunday, 9 March 2014

Conversion of Binary, Octal, Hexadecimal to Decimal

Conversion of Binary, Octal, Hexadecimal to Decimal:
A binary, octal or hexadecimal number has two parts:
  1. integer part and
  2.  fraction part
  3. . For example, a binary number could be 10011, 0.011001 or 10011.0111. The numbers 45, .362 or 245.362 are octal numbers. A hexadecimal number could be A2, .4C2 or A1.34.
Method use for the Conversion of Binary, Octal, Hexadecimal to Decimal:

The method used for the conversion of integer part and fraction part of binary, octal or hexadecimal number to decimal number is the same; multiplication operation is used for the conversion. The conversion mechanism uses the face value and position value of digits. The steps for conversion are as follows

Conversion from Decimal to Binary, Octal, Hexadecimal

Conversion from Decimal to Binary, Octal, Hexadecimal:

A decimal number has two parts—integer part and fraction part. 
EXAMPLE:For example, in the decimal number 23.0786, 23 is the integer part and .0786 is the fraction part. 


METHOD FOR THE  

Conversion from Decimal to Binary, Octal, Hexadecimal:

The method used for the conversion of the integer part of a decimal number is different from the one used for the fraction part. In the following subsections, we shall discuss the conversion of decimal integer, decimal fraction and decimal integer.fraction number into binary, octal and hexadecimal number.

Converting Decimal Integer to Binary, Octal, Hexadecimal:

A decimal integer is converted to any other base, by using the division operation.