COS

The COS function returns the cosine of a specified number.

Syntax

COS ( number )

number

A  DOUBLE PRECISION number that specifies the angle, in radians, for which you want the cosine computed.

Results

The data type of the returned value is a  DOUBLE PRECISION number.

If input argument is NULL, the result of the function is NULL.

Example

splice> VALUES COS(84.4);
1
----------
-0.9118608758306834

1 row selected

See Also