Contact: aviboots(AT)netvision.net.il
40,764 questions
53,140 answers
573 users
function binaryToHex(str) { const decimalNumber = parseInt(str, 2); return decimalNumber.toString(16).toUpperCase(); } const binaryNumber = "0001111010011011"; const hex = binaryToHex(binaryNumber); console.log(hex); /* run: 1E9B */