Nata
Norint pasiekti šį puslapį, reikalingas leidimas. Galite pabandyti prisijungti arba pakeisti katalogus.
Norint pasiekti šį puslapį, reikalingas leidimas. Galite pabandyti pakeisti katalogus.
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.