Rediger

Del via


ACOS (NoSQL query)

APPLIES TO: NoSQL

Returns the trigonometric arccosine of the specified numeric value. The arccosine is the angle, in radians, whose cosine is the specified numeric expression.

Syntax

ACOS(<numeric_expr>)  

Arguments

Description
numeric_expr A numeric expression.

Return types

Returns a numeric expression.

Examples

The following example calculates the arccosine of the specified values using the function.

SELECT VALUE { 
    arccosine: ACOS(-1) 
}
[
  {
    "arccosine": 3.141592653589793
  }
]

Remarks

  • This system function doesn't use the index.