A scalar numeric function that
returns the cosine, in radians, of an angle.
Synopsis
{fn COS(float-expression)}
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).
These examples show the effect of
COS on two sines.
SELECT DISTINCT {fn COS(0.52)} AS Cosine
FROM Sample.Person
SELECT DISTINCT {fn COS(-.31)} AS Cosine
FROM Sample.Person
-
-
Caché ObjectScript function:
$ZCOS