A scalar numeric function that returns the cosine, in radians, of an angle.
Synopsis
{fn COS(float-expression)}
Arguments
float-expression  An expression of type FLOAT. This is an angle expressed in radians. 
Description
COS returns the cosine as a FLOAT. The returned value is within the range –1 to 1, inclusive. COS returns NULL if passed a NULL value.
COS can only be used as an ODBC scalar function (with the curly brace syntax).
Examples
These examples show the effect of COS on two sines.
SELECT DISTINCT {fn COS(0.52)} AS Cosine
FROM Sample.Person 
returns 0.86781.
SELECT DISTINCT {fn COS(-.31)} AS Cosine
FROM Sample.Person 
returns 0.95233.
See Also