+ 8
Hi, Why the button "decbin" doesn't work?
It's on line 89. Function DecToBin is on line270-js https://code.sololearn.com/W26TK9tRyWl6/?ref=app
2 Respuestas
+ 10
Thanks Diviya, It works fine!!
+ 2
replace line 276,277 line of js code with this
document.Clcltr.Button.
value = (parseInt(button)).toString(2);
actually button var is string and binary conversion work on integer so first make it integer datatype