Returns the cosine of a number, expressed in radians.
Syntax
COS ( numeric-expression )
Parameters
ParametersParameter
|
Description
|
numeric-expression
|
The angle, in radians.
|
Returns
This function converts its argument to DOUBLE, performs the computation in double-precision floating point, and returns a DOUBLE as the result. If the parameter is NULL, the result is NULL.
Standards and Compatibility
Example
The following statement returns the value 0.86781:
SELECT COS( 0.52 ) FROM iq_dummy