Cos

circle-info

The Cos() calculates the cosine of a given radian value.

This function is NOT SQL compatible. For more information about SQL compatibility, see our documentation.

circle-check
circle-exclamation

Syntax

chevron-rightCos(rad)hashtag

Cos(1) => 0.5403023059

Cos() => Invalid expression

Parameters

Name
Type
Required
Description

rad

numeric

☑️

a number given in unit of radians

Examples

Function call
Result

cos(1)

0.5403023059

cos(Pi)

-1

cos(Pi/2)

0

Last updated

Was this helpful?