ES|QL CBRT function
number-
Numeric expression. If
null, the function returnsnull.
Returns the cube root of a number. The input can be any numeric value, the return value is always a double. Cube roots of infinities are null.
| number | result |
|---|---|
| double | double |
| integer | double |
| long | double |
| unsigned_long | double |
ROW d = 1000.0
| EVAL c = CBRT(d)
| d: double | c:double |
|---|---|
| 1000.0 | 10.0 |