Contact: aviboots(AT)netvision.net.il
39,890 questions
51,819 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 */