CBRT
Descriptionβ
Calculate the cube root of the parameter
Syntaxβ
CBRT(<a>)
Parametersβ
Parameter | Description |
---|---|
<a> | Floating point parameter |
Return Valueβ
Cubic root of parameter <a>
, a floating point number.
Examplesβ
select cbrt(0);
+-------------------------+
| cbrt(cast(0 as DOUBLE)) |
+-------------------------+
| 0.0 |
+-------------------------+
select cbrt(-111);
+----------------------------+
| cbrt(cast(-111 as DOUBLE)) |
+----------------------------+
| -4.805895533705333 |
+----------------------------+
select cbrt(1234);
+----------------------------+
| cbrt(cast(1234 as DOUBLE)) |
+----------------------------+
| 10.726014668827325 |
+----------------------------+