sqrt
The sqrt function returns the square root function.
Syntax
sqrt( X )
Arguments
- X: A real number >= 0.
Returns
- A positive number such that
sqrt(x) * sqrt(x) == x. nullif the argument is negative or cannot be converted to arealvalue.
Examples
This returns 4:
print sqrt ( 16 )This returns null:
print sqrt ( -64 )