Reference material for COS function
Trigonometric function that calculates the cosine of a specific value in radians.
Parameter | Description | Supported input types |
---|---|---|
<value> | The value that determines the returned cosine in radians. | DOUBLE PRECISION |
COS
returns a value of type DOUBLE PRECISION
.
The following query calculates the cosine of 0:
The following query calculates the cosine of pi: