TAN (NoSQL query)
APPLIES TO: NoSQL
Returns the trigonometric tangent of the specified angle in radians.
Syntax
TAN(<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 {
tangentSquareRootPi: TAN(PI()/2),
tangentArbitraryNumber: TAN(124.1332)
}
[
{
"tangentSquareRootPi": 16331239353195370,
"tangentArbitraryNumber": -24.80651023035602
}
]
Remarks
- This function doesn't use the index.
Related content
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for