Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (中文) » UltraLite - 数据库管理和参考 » UltraLite SQL 参考 » UltraLite SQL 函数 » SQL 函数 (A-D)

 

ATAN2 函数 [Numeric]

返回两个数字的比率的反正切值(以弧度表示)。

语法
ATAN2 ( numeric-expression-1, numeric-expression-2 )
参数
  • numeric-expression-1   要计算其反正切值的比率中的分子。

  • numeric-expression-2   要计算其反正切值的比率中的分母。

返回值

DOUBLE

注释

此函数将其参数转换为 DOUBLE,并以双精度浮点执行计算。

另请参见
标准和兼容性
  • SQL/2003   服务商扩充。

示例

以下语句返回 0.52 与 0.60 的比率的反正切值。

SELECT ATAN2( 0.52, 0.60 );