COS function
Returns the cosine of expr.
Syntax
COS(expr)
Arguments
expr: An expression that evaluates to a numeric expressing the angle in radians.
Returns
A DOUBLE of the cosine of input expr.
Examples
> SELECT COS(0); 1.0 > SELECT COS(pi()) -1.0
Returns the cosine of expr.
COS(expr)
expr: An expression that evaluates to a numeric expressing the angle in radians.
A DOUBLE of the cosine of input expr.
> SELECT COS(0); 1.0 > SELECT COS(pi()) -1.0