ES|QL COS function
angle-
An angle, in radians. If
null, the function returnsnull.
Returns the cosine of an angle.
| angle | result |
|---|---|
| double | double |
| integer | double |
| long | double |
| unsigned_long | double |
ROW a=1.8
| EVAL cos=COS(a)
| a:double | cos:double |
|---|---|
| 1.8 | -0.2272020946930871 |