JavaScript Reference/Javascript Methods/sqrt
"sqrt()" Example
<html>
<body>
<button onclick="alert(Math.sqrt(2));">Math.sqrt(2)</button>
</body>
</html>
"sqrt()" is applied to
+----------------+--------------------------------------------------------------+
| Applied_To |Math |
+----------------+--------------------------------------------------------------+
"sqrt()" Syntax, Parameters and Note
Note:
Square root of the specified number.
Syntax:
Math.sqrt(param1)
Parameters:
param1 Required; the number to convert.