Contact: aviboots(AT)netvision.net.il
32,304 questions
42,479 answers
573 users
const num = 5668; console.log(("0000000000000000" + num.toString(2)).substr(-16)); console.log(num.toString(2)); /* run: 0001011000100100 1011000100100 */