Редактиране

Споделяне чрез


SIN (NoSQL query)

APPLIES TO: NoSQL

Returns the trigonometric sine of the specified angle in radians.

Syntax

SIN(<numeric_expr>)  

Arguments

Description
numeric_expr A numeric expression.

Return types

Returns a numeric expression.

Examples

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

SELECT VALUE {
    sine: SIN(45.175643)
}
[
  {
    "sine": 0.929607286611012
  }
]

Remarks

  • This function doesn't use the index.