ACOS Function [Numeric]

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

Syntax

ACOSnumeric-expression )

Parameters

Parameters

Parameter

Description

numeric-expression

The cosine of the angle.

Returns

DOUBLE

Example

The following statement returns the value 1.023945:

SELECT ACOS( 0.52 ) FROM iq_dummy

Standards and compatibility

  • SQL—Vendor extension to ISO/ANSI SQL grammar.

  • Sybase—Compatible with Adaptive Server Enterprise.

Related reference
COS Function [Numeric]
ATAN2 Function [Numeric]
ATAN Function [Numeric]
ASIN Function [Numeric]
COT Function [Numeric]
SIN Function [Numeric]
TAN Function [Numeric]