COS

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

Example

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