COS

Returns a DOUBLE PRECISION value tat represents the trigonometric cosine of the passed parameter.

Returns a DOUBLE PRECISION value tat represents the trigonometric cosine of the passed parameter.

Behavior type

Immutable

Syntax

COS ( expression )

Parameters

expression
An expression of type DOUBLE PRECISION

Examples

SELECT COS(-1);
       COS
------------------
 0.54030230586814
(1 row)