Mega Code Archive

 
Categories / JavaScript Tutorial / Math
 

The value of the square root of 12

< 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 1/2 is: " + Math.SQRT1_2 + "</p>"); } // --> </script> </head> <body onload="DisplayMath()"> </body> </html>