Products Downloads


French version


 

 

Mobile DBMS version: this function is not permitted with DB2 or Oracle.

 

Syntax

ARC_COSINE(Argument)

 

Description

The ARC_COSINE SQL scalar function returns the arc cosine of a number, in radians.

The ARC_COSINE and COSINE functions are inverse operations.

 

The argument must be a number whose value is greater than or equal to -1 and less than or equal to 1.

 

The data type of the result is double-precision floating point.

If the argument can be null, the result can be null; if the argument is null, the result is the null value.

 

The result is in the range (0, &pi.).

 

Example

Assume the column ACOSINE is a decimal (10,9) column with a value of 0.070737202.

 

ARC_COSINE(ACOSINE)

 

Returns the approximate value 1.49.

 

List of SQL scalar functions by topic

 

↑ Top of page

  • Aucune étiquette