sqrt(val)
Calculates the square root of a number. The square root of a number is always positive, even though there may be a valid negative root. The square root s of number a is such that s * s = a
. It is the opposite of squaring.
Type: function
Parameter(s):
- val {Number}:
A value.
Returns:
-
{Number}:
Square root.