Calculate the cube root of the parameter
CBRT(<a>)
| Parameter | Description |
|---|---|
<a> | Floating point parameter |
Cubic root of parameter <a>, a floating point number.
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 | +----------------------------+