VeloDB Cloud
SQL Manual
Functions
math-functions
tan

tan

Description

Syntax:

DOUBLE tan(DOUBLE x)

This function returns the tangent of x, where x is in radians.

Example

mysql> select tan(0);
+----------+
| tan(0.0) |
+----------+
|        0 |
+----------+
mysql> select tan(1);
+--------------------+
| tan(1.0)           |
+--------------------+
| 1.5574077246549023 |
+--------------------+

Keywords

TAN