TAN (Azure Cosmos DB)TAN (Azure Cosmos DB)
适用于:
SQL API
返回在指定表达式中以弧度表示的指定角度的正切。Returns the tangent of the specified angle, in radians, in the specified expression.
语法Syntax
TAN (<numeric_expr>)
参数Arguments
numeric_exprnumeric_expr
是一个数值表达式。Is a numeric expression.
返回类型Return types
返回一个数值表达式。Returns a numeric expression.
示例Examples
以下示例计算 PI()/2 的正切。The following example calculates the tangent of PI()/2.
SELECT TAN(PI()/2) AS tan
下面是结果集。Here is the result set.
[{"tan": 16331239353195370 }]
备注Remarks
此系统函数不会使用索引。This system function will not utilize the index.