ATAN (Azure Cosmos DB)ATAN (Azure Cosmos DB)

适用于: SQL API

返回角度(弧度),其正切是指定的数值表达式。Returns the angle, in radians, whose tangent is the specified numeric expression. 这也被称为反正切。This is also called arctangent.

语法Syntax

ATAN(<numeric_expr>)  

参数Arguments

numeric_exprnumeric_expr
是一个数值表达式。Is a numeric expression.

返回类型Return types

返回一个数值表达式。Returns a numeric expression.

示例Examples

以下示例返回指定值的 ATANThe following example returns the ATAN of the specified value.

SELECT ATAN(-45.01) AS atan  

下面是结果集。Here is the result set.

[{"atan": -1.5485826962062663}]  

备注Remarks

此系统函数不会使用索引。This system function will not utilize the index.

后续步骤Next steps