Mega Code Archive
Categories
/
JavaScript Tutorial
/
Math
Math sqrt()
Syntax math.sqrt(num) The sqrt() method of the Math object is used to calculate the square root of a number. If the return value is outside the required range, sqrt() returns 0.
Enter Number:
The square root is: