tan() 是一个系统函数,它返回一个以弧度为单位的参数的切线值。
tan() 已被添加到 PostgreSQL 7.0 中。
示例
tan() 的基本用法示例
postgres=# SELECT tan(1.5);
tan
--------------------
14.101419947171719
(1 row)
参考资料
- PostgreSQL documentation: Trigonometric Functions(三角函数)
tan() 是一个系统函数,它返回一个以弧度为单位的参数的切线值。
tan() 已被添加到 PostgreSQL 7.0 中。
tan() 的基本用法示例
postgres=# SELECT tan(1.5);
tan
--------------------
14.101419947171719
(1 row)