Definition and Usage The SQRT2 property returns the square root of 2, approximately 1.414. Syntax Math.SQRT2 Example <scr...
Definition and Usage
The SQRT2 property returns the square root of 2, approximately 1.414.Syntax
Math.SQRT2 |
Example
<script type="text/javascript"> document.write("SQRT2: " + Math.SQRT2); </script> |
The output of the code above will be:
SQRT2: 1.4142135623730951 |