Syntax
COSINE(Argument)
Description
The COSINE SQL scalar function returns the cosine of a number.
The COSINE and ARC_COSINE functions are inverse operations.
The argument must be a number whose value is specified in radians.
The data type of the result is double-precision floating point.
If the argument can be null, the result can be null; if the argument is null, the result is the null value.
Example
Assume the column COSINE is a decimal (2,1) column with a value of 1.5.
COSINE(COSINE)
Returns the approximate value 0.07.
List of SQL scalar functions by topic