tan

description

Syntax

DOUBLE tan(DOUBLE x) 返回x的正切值,x为弧度值.

example

  1. mysql> select tan(0);
  2. +----------+
  3. | tan(0.0) |
  4. +----------+
  5. | 0 |
  6. +----------+
  7. mysql> select tan(1);
  8. +--------------------+
  9. | tan(1.0) |
  10. +--------------------+
  11. | 1.5574077246549023 |
  12. +--------------------+

keywords

  1. TAN