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

SQL Anywhere 11.0.1 » SQL Anywhere Server - SQL Reference » Using SQL » SQL functions » SQL functions (A-D)

 

ACOS function [Numeric]

Returns the arc-cosine, in radians, of a numeric expression.

Syntax
ACOS( numeric-expression )
Parameters
  • numeric-expression   The cosine of the angle.

Returns

DOUBLE

Remarks

This function converts its argument to DOUBLE, and performs the computation in double-precision floating point.

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

Example

The following statement returns the arc-cosine value for 0.52.

SELECT ACOS( 0.52 );