QP School
Binary to Decimal in JavaScript - Printable Version

+- QP School (https://qomplainerzschool.lima-city.de)
+-- Forum: Tutorials (https://qomplainerzschool.lima-city.de/forumdisplay.php?fid=3)
+--- Forum: JavaScript Tutorials (https://qomplainerzschool.lima-city.de/forumdisplay.php?fid=6)
+--- Thread: Binary to Decimal in JavaScript (/showthread.php?tid=4094)



Binary to Decimal in JavaScript - Qomplainerz - 04-04-2023

Code:
Num001 = 0B00000000;
Num002 = 0B00000001;
Num003 = 0B00000010;
Num004 = 0B00000011;

document.write(Num001);
document.write("<br>");
document.write(Num002);
document.write("<br>");
document.write(Num003);
document.write("<br>");
document.write(Num004);