Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.firebolt.io/llms.txt

Use this file to discover all available pages before exploring further.

Trigonometric function that calculates the cosine of a specific value in radians.

Syntax

COS(<value>)

Parameters

ParameterDescriptionSupported input types
<value>The value that determines the returned cosine in radians.DOUBLE PRECISION

Return Type

COS returns a value of type DOUBLE PRECISION.

Example

The following query calculates the cosine of 0: The following query calculates the cosine of pi: