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

SQL Anywhere 10.0.1 » SQL Anywhere Server - SQL Reference » SQL Functions » Alphabetical list of functions

COS function [Numeric] Next Page

COT function [Numeric]

Converts a number from radians to cotangent.


COT( numeric-expression )


numeric-expression    The angle, in radians.


The COT function returns the cotangent of the angle given by numeric-expression.

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

The following statement returns the cotangent value of 0.52.

SELECT COT( 0.52 );