https://decimal-to-binary.com/decimal-to-binary-converter-online.html?id=31892
# Transfer 2A4 from hexadecimal in decimal 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(" ");
//$('#text_perevod').fadeIn(100);
// $('#href_calc').fadeIn(100);
window.location.href = $('#link').html();
}
}
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);
$('#calc_wait').fadeIn(1);
$('#ads_calc').fadeIn(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://decimal-to-binary.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);
if(key=="link") $('#link').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 :

let\'s translate to decimal like this:

2∙16^{2}+10∙16^{1}+4∙16^{0} = 2∙256+10∙16+4∙1 = 512+160+4 = 676_{10}

got It: 2A4_{16} =676_{10}