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.

Returns cosine of number Returns invalid expression if the parameter has no value or is not a valid number.

Syntax

Cos(rad)

Cos(1) => 0.5403023059

Cos() => Invalid expression

Parameters

NameTypeRequiredDescription

rad

numeric

☑️

a number given in unit of radians

Examples

Function callResult

cos(1)

0.5403023059

cos(Pi)

-1

cos(Pi/2)

0

Last updated