Returns the cosine of a number, expressed in radians.
Syntax
COS ( numeric-expression )
Parameters
Parameters
Parameter
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.
Example
The following statement returns the value 0.86781:
SELECT COS( 0.52 ) FROM iq_dummy
Standards and Compatibility
SQL—Vendor
extension to ISO/ANSI SQL grammar.
Sybase—Compatible with Adaptive Server
Enterprise.