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