COS (NoSQL query)
APPLIES TO:
NoSQL
Returns the trigonometric cosine of the specified angle in radians.
Syntax
COS(<numeric_expr>)
Arguments
Description | |
---|---|
numeric_expr |
A numeric expression. |
Return types
Returns a numeric expression.
Examples
The following example calculates the cosine of the specified angle using the function.
SELECT VALUE {
cosine: COS(14.78)
}
[
{
"cosine": -0.5994654261946543
}
]
Remarks
- This system function doesn't use the index.
Related content
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για