Rediger

Del via


COT (NoSQL query)

APPLIES TO: NoSQL

Returns the trigonometric cotangent of the specified angle in radians.

Syntax

COT(<numeric_expr>)  

Arguments

Description
numeric_expr A numeric expression.

Return types

Returns a numeric expression.

Examples

The following example calculates the cotangent of the specified angle using the function.

SELECT VALUE {
    cotangent: COT(124.1332)
}
[
  {
    "cotangent": -0.040311998371148884
  }
]

Remarks

  • This function doesn't use the index.