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 函数 (P-Z)

 

TAN 函数 [Numeric]

返回一个数字的正切值。

语法
TAN( numeric-expression )
参数
  • numeric-expression   角度(以弧度为单位)。

返回值

DOUBLE

注释

ATAN 和 TAN 函数互为逆运算。

此函数将其参数转换为 DOUBLE,以双精度浮点执行计算,然后返回 DOUBLE 值作为结果。

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

示例

以下语句返回 0.52 的正切值。

SELECT TAN( 0.52 );