Skip to main content
Loading

ES|QL COS function

Returns the cosine of an angle.

angle

An angle, in radians. If null, the function returns null.

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