4
$\begingroup$

I'm having trouble understanding the conversion of Octal Numbers to Decimals Numbers. It mostly comes down to the decimals I have most trouble with and was hoping someone could explain more in depth.

I have this number: 4.5 in octal that translates to 4.625 in decimal. Now from my understanding in Octal it goes 1-8-64-512 so: 4*1 = 4, 0.5 * 1/8 = .0625 so the answer I'm getting is 4.0625 - is there something in decimals that I'm missing?

  • 4
    $5\times (1/8)$, not $0.5\times(1/8)$.2012-09-06

2 Answers 2

4

It should be $4 \times 8^0 + 5 \times 8^{-1} = 4.625$

and not what you are doing. You should simply multiply each digit in the number with the radix raised to the correct power, which is $0,1,2, ...$ for the digits to the left of the decimal point and $-1, -2, -3, ...$ for the digits to the right of the decimal point.

0

to convert octal to decimal for example 4.5 in octal can be converted into decimal as 4*8^0+5*8^-1=4.625