संपादित करें

इसके माध्यम से साझा किया गया


RADIANS (NoSQL query)

APPLIES TO: NoSQL

Returns the corresponding angle in radians for an angle specified in degrees.

Syntax

RADIANS(<numeric_expr>)  

Arguments

Description
numeric_expr A numeric expression.

Return types

Returns a numeric expression.

Examples

The following example returns the radians for various degree values.

SELECT VALUE {
    degrees90ToRadians: RADIANS(90),
    degrees180ToRadians: RADIANS(180),
    degrees270ToRadians: RADIANS(270),
    degrees360ToRadians: RADIANS(360)
}
[
  {
    "degrees90ToRadians": 1.5707963267948966,
    "degrees180ToRadians": 3.141592653589793,
    "degrees270ToRadians": 4.71238898038469,
    "degrees360ToRadians": 6.283185307179586
  }
]

Remarks

  • This function doesn't use the index.