Parse binary number : parseInt : Global JAVASCRIPT TUTORIALS


JAVASCRIPT TUTORIALS » Global » parseInt »

 

Parse binary number

















<html>
    <body>
    <script language="JavaScript">
    <!--
    document.write("The binary string 101101 converted to an integer is: ");
    document.write(parseInt("101101"2"<br>");
    -->
    </script>
    </body>
    </html>







HTML code for linking to this page:

Follow Navioo On Twitter

JAVASCRIPT TUTORIALS

 Navioo Global
» parseInt