Cos

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.

Syntax

Cos(rad)

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?