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.

Remarks

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

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