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 );