Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (Français) » UltraLite - Database Management and Reference » UltraLite SQL Reference » UltraLite SQL functions » SQL functions (A-D)

 

COS function [Numeric]

Returns the cosine of the angle in radians given by its argument.

Syntax
COS( numeric-expression )
Parameters
  • 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.

See also
Standards and compatibility
  • SQL/2003   Vendor extension.

Example

The following statement returns the value of the cosine of an angle 0.52 radians.

SELECT COS( 0.52 );