The value of the square root of 2: Math.SQRT2 : SQRT2 « Math « JavaScript Tutorial






<html>
<head>
<title>The Properties of the Math object</title>
<script type="text/javascript" language="javascript">
<!-- //
function DisplayMath(){
    document.write("<br/><P>The value of the square root of 2 is: " + Math.SQRT2 + "</p>");
}
// -->
</script>
</head>
<body onload="DisplayMath()">

</body>
</html>








9.26.SQRT2
9.26.1.Math.SQRT2
9.26.2.The value of the square root of 2: Math.SQRT2