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)

 

COT 函数 [Numeric]

返回由其参数所指定的角度(以弧度表示)的余切值。

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

返回值

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

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

示例

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

SELECT COT( 0.52 );