SQRT
Computes the square root of the given input.
Syntax
SQRT(X)
Arguments
X
Type: numeric
A numeric value.
Returns
Type: double
The square root of X as a double.
Note that if $$x \leq 0$$, then the function returns a null value.
Examples
| X | Output |
|---|---|
| 1 | 1.0 |
| -1 | null
|
| 0 | 0.0 |
| 10.5 | 3.24037034920393 |