https://binary2hex.com/numberconverter.html?id=101318
# Transfer 325.24 from octal in binary number system

<!--
function timerDecrement() {
var time = $('#timer_perevod').html();
if(time>0)
{
time=time-1;
$('#timer_perevod').html(time);
setTimeout(timerDecrement, 1000);
}
else
{
// ожидание закончено
$('input[name=submit]').val("Перевести");
$('input[name=submit]').prop('disabled',false);
$('#timer_perevod').text(" ");
//$('#ads_calc').text(" ");
$('#text_perevod').fadeIn(100);
$('#href_calc').fadeIn(100);
}
}
function printleftss(ss)
{
if(ss!=4)
{
var ch = $('#chislo').val();
$('#chislo').val(ch.replace('-',''));
}
// if(ss==3) { $('#leftdop').fadeOut(300); $('input[name=ssDop]').attr('checked',false);}
if(ss==6) $('#leftbcd').fadeIn(300); else $('#leftbcd').fadeOut(300);
if(ss==7) $('#leftdr').fadeIn(300); else $('#leftdr').fadeOut(300);
if(ss==8) {if($('#ssDop').is(":checked")) $('#leftdop').fadeIn(300); else $('#leftdop').fadeOut(300);}
}
function printrightss(ss)
{
if(ss==15) $('#rightbcd').fadeIn(300); else $('#rightbcd').fadeOut(300);
if(ss==16) $('#rightdr').fadeIn(300); else $('#rightdr').fadeOut(300);
}
function printleftssDOP()
{
//if($('input[name=ss]:checked').val()==3) {$('#leftdop').fadeOut(300);$('input[name=ssDop]').attr('checked',false); alert("Для ввода знака поставьте - минус перед числом"); return;}
if($('#ssDop').is(":checked")) $('#leftdop').fadeIn(300); else $('#leftdop').fadeOut(300);
}
function printleftssTip(tip)
{
var maxlenght = 0;
var ss = $('input[name=ss]:checked').val();
switch(ss)
{
case '1':maxlenght = 8*tip; break;
case '2':maxlenght = 8*tip; break;
case '3':maxlenght = 3*tip; break;
case '4':maxlenght = 0; break;
case '5':maxlenght = 2*tip; break;
case '6':maxlenght = 8*tip; break;
case '7':maxlenght = 0*tip; break;
}
if(maxlenght!=0)
{
var ch = $('#chislo').val();
var chlenght = ch.length;
if(chlenght>maxlenght)
{
ch = ch.substr(-maxlenght);
$('#chislo').val(ch);
}
}
}
function printleftssTipSign(tip)
{
if(tip==0) $('#lefttipsign').fadeIn(300); else $('#lefttipsign').fadeOut(300);
}
function printRigtssTipSign(tip)
{
if(tip==0) $('#righttipsign').fadeIn(300); else $('#righttipsign').fadeOut(300);
}
function printlrihtssDOP()
{
if($('#ssToDop').is(":checked")) $('#rightdop').fadeIn(300); else $('#rightdop').fadeOut(300);
}
function forEach(data, callback){
for(var key in data){
if(data.hasOwnProperty(key)){
callback(key, data[key]);
}
}
}
function ValidateForm()
{
var strFilter ;
var text;
var ss = $('input[name=ss]:checked').val();
if (ss==1) {strFilter =/^[0-1,.]*$/; text=" a Binary number can only contain the digits 0 and 1, as well as a dot for fractional numbers" }
if (ss==2) {strFilter =/^[0-2,.]*$/; text=" a Ternary number can only contain the digits 0.1 and 2, as well as a dot for fractional numbers"; }
if (ss==3) {strFilter =/^[0-7,.]*$/; text=" an Octal number can only contain digits 0-7, as well as a dot for fractional numbers"; }
if (ss==4) {strFilter =/^[0-9,.-]*$/; text=" a Decimal number can only contain digits 0-9, as well as a dot for fractional numbers"; }
if (ss==5) {strFilter =/^[0-9a-fA-F,.x]*$/; text=" a Hexadecimal number can only contain digits 0-9, letters A, B,C,D, E,F, and a dot for fractional numbers";}
if (ss==6) {strFilter =/^[0-1,.]*$/; text=" a Binary number can only contain the digits 0 and 1, as well as a dot for fractional numbers";}
if (ss==7) {strFilter =/^[0-9a-fA-Z,.-]*$/; text=" a Number can only contain the digits 0 and 9, the letters A-Z, and a dot for fractional numbers";}
if (!strFilter.test($('#chislo').val()))
{
alert(text);
}
else if($('#chislo').val()==0)
{
alert(" Enter a number");
$('#chislo').val('');
//alert($('input[name=ssTobcd]:checked').val());
}
else if($('#chislo').val().length>=30)
{
alert(" a Binary number can only contain the digits 0 and 1, as well as a dot for fractional numbers");
$('#chislo').val('');
}
else
{
$('input[name=submit]').val(" data Transfer, wait");
$('input[name=submit]').prop('disabled',true);
$('#text_perevod').fadeOut(1);
$('#href_calc').fadeOut(1);
// отправляем форму
$.ajax({
type:"POST",
data: {
chislo: $('#chislo').val(),
ss: $('input[name=ss]:checked').val(),
ssTo: $('input[name=ssTo]:checked').val(),
ssbcd: $('input[name=ssbcd]:checked').val(),
ssTobcd: $('input[name=ssTobcd]:checked').val(),
ssdr: $('#ssdr').val(),
ssTodr: $('#ssTodr').val(),
ssDop: $('input[name=ssDop]:checked').val(),
sssign: $('input[name=sssign]:checked').val(),
sstip: $('input[name=sstip]:checked').val(),
sstipsign: $('input[name=sstipsign]:checked').val(),
ssToDop: $('input[name=ssToDop]:checked').val(),
ssTosign: $('input[name=ssTosign]:checked').val(),
ssTotip: $('input[name=ssTotip]:checked').val(),
ssTotipsign: $('input[name=ssTotipsign]:checked').val(),
},
url: "https://binary2hex.com/calc/calcyadro.php?calculator=2&calcid=1",
cache: false,
dataType: 'json',
success:function(data) {
$('input[name=submit]').val(" waiting for the calculation to complete");
forEach(data,function(key,value) {
if(key=="otvet_perevod") $('#otvet_perevod').html(value);
if(key=="timer_perevod") $('#timer_perevod').text(value);
if(key=="error_perevod") $('#error_perevod').html(value);
if(key=="text_perevod") $('#text_perevod').html(value);
if(key=="like_block") $('#like_block').html(value);
if(key=="href_calc") $('#href_calc').html(value);
if(key=="ads_calc") $('#ads_calc').html(value);
if(key=="link_print") $('#link_print').html(value);
});
timerDecrement();
}
});
}
}
-->

Ternary

Octal

Decimal

Hexadecimal

Binary-decimal

Other

Additional

Binary

Triple

Octal

Decimal

Hexadecimal

Binary-decimal

Other

Additional

$( function() {
window.print();
});

Enter a number:

His number system:

Binary Ternary

Octal

Decimal

Hexadecimal

Binary-decimal

Other

Additional

Translate to :

This transfer is possible in two ways: direct transfer and using the decimal system.

first, let\'s make a direct transfer.

let\'s do a direct translation from octal to binary like this:

325.24_{8} = 3 2 5. 2 4 = 3_{(=011)} 2_{(=010)} 5_{(=101)}. 2_{(=010)} 4_{(=100)} = 011010101.010100_{2}

the Final answer: 325.24_{8} = 11010101.0101_{2}

now let\'s make the transfer using the decimal system.

let\'s translate to decimal like this:

3∙8^{2}+2∙8^{1}+5∙8^{0}+2∙8^{-1}+4∙8^{-2} = 3∙64+2∙8+5∙1+2∙0.125+4∙0.015625 = 192+16+5+0.25+0.0625 = 213.3125_{10}

got It: 325.24_{8} =213.3125_{10}

Translate the number 213.3125_{10} в binary like this:

the Integer part of the number is divided by the base of the new number system:

213 | 2 | ||||||||

-212 | 106 | 2 | |||||||

1 | -106 | 53 | 2 | ||||||

0 | -52 | 26 | 2 | ||||||

1 | -26 | 13 | 2 | ||||||

0 | -12 | 6 | 2 | ||||||

1 | -6 | 3 | 2 | ||||||

0 | -2 | 1 | |||||||

1 | |||||||||

the Fractional part of the number is multiplied by the base of the new number system:

0. | 3125*2 |

0 | .625*2 |

1 | .25*2 |

0 | .5*2 |

1 | .0*2 |

the result of the conversion was:

213.3125_{10} = 11010101.0101_{2}

the Final answer: 325.24_{8} = 11010101.0101_{2}

Permanent link to the result of this calculation