Skip to content

Latest commit

 

History

History
53 lines (36 loc) · 1.13 KB

File metadata and controls

53 lines (36 loc) · 1.13 KB
title titleSuffix description author ms.author ms.reviewer ms.service ms.subservice ms.topic ms.devlang ms.date ms.custom
TAN
Azure Cosmos DB for NoSQL
An Azure Cosmos DB for NoSQL system function that returns the trigonometric tangent of the specified angle.
jcodella
jacodel
sidandrews
cosmos-db
nosql
reference
nosql
02/27/2024
query-reference

TAN (NoSQL query)

[!INCLUDENoSQL]

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.

:::code language="nosql" source="~/cosmos-db-nosql-query-samples/scripts/tan/query.sql" highlight="2-3":::

:::code language="json" source="~/cosmos-db-nosql-query-samples/scripts/tan/result.json":::

Remarks

  • This function doesn't use the index.

Related content