ATN2 (NoSQL query)
APPLIES TO:
NoSQL
Returns the principal value of the arctangent of y/x
, expressed in radians.
Syntax
ATN2(<numeric_expr>, <numeric_expr>)
Arguments
Description | |
---|---|
numeric_expr_y |
A numeric expression for the y component. |
numeric_expr_x |
A numeric expression for the x component. |
Return types
Returns a numeric expression.
Examples
The following example calculates the arctangent for the specified x
and y
components.
SELECT VALUE {
arctangentInRadians: ATN2(35.175643, 129.44)
}
[
{
"arctangentInRadians": 0.265344532064832
}
]
Remarks
- This system function doesn't use the index.
Related content
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για