Skip to content

Returns the cosine of x, where x is given in radians.

func.cos( <x> )
func.cos(func.pi())
┌─────────────────────┐
│ func.cos(func.pi()) │
├─────────────────────┤
│ -1 │
└─────────────────────┘
COS( <x> )
SELECT COS(PI());
┌───────────┐
│ cos(pi()) │
├───────────┤
│ -1 │
└───────────┘