Notă
Accesul la această pagină necesită autorizare. Puteți încerca să vă conectați sau să modificați directoarele.
Accesul la această pagină necesită autorizare. Puteți încerca să modificați directoarele.
The TAN function returns the trigonometric tangent of the specified angle in radians.
An Azure Cosmos DB system function that returns the trigonometric tangent of the specified angle.
Syntax
TAN(<numeric_expr>)
Arguments
| Description | |
|---|---|
numeric_expr |
A numeric expression. |
Return types
Returns a numeric expression.
Examples
This section contains examples of how to use this query language construct.
Calculate tangent of angles
In this example, the TAN function is used to calculate the tangent of various angles.
SELECT VALUE {
tangentSquareRootPi: TAN(PI()/2),
tangentArbitraryNumber: TAN(124.1332)
}
[
{
"tangentSquareRootPi": 16331239353195370,
"tangentArbitraryNumber": -24.80651023035602
}
]
Remarks
- This function doesn't utilize the index.