let\'s translate from binary-decimal to decimal like this:
11111101.01001100BCD= 1111 1101. 0100 1100 = 1111(=15) 1101(=13). 0100(=4) 1100(=12) = 1513.412
Translate the number 1513.41210 в octal like this:
the Integer part of the number is divided by the base of the new number system:
1513 | 8 | | | |
-1512 | 189 | 8 | | |
1 | -184 | 23 | 8 | |
| 5 | -16 | 2 | |
| | 7 | | |
|
the Fractional part of the number is multiplied by the base of the new number system:
|
0. | 412*8 |
3 | .296*8 |
2 | .368*8 |
2 | .944*8 |
7 | .552*8 |
4 | .416*8 |
3 | .328*8 |
2 | .624*8 |
4 | .992*8 |
7 | .936*8 |
7 | .488*8 |
the result of the conversion was:
1513.41210 = 2751.32274324778
answer: 11111101.010011002 = 2751.32274324778