# TAN()

## Function Description

The TAN() function returns the tangent value of the input parameter (denoted in radians).

## Function Syntax

```text
> TAN(number)
```

## Parameter definition

| Parameters | Description |
| ---- | ---- |
| number | Required parameters, any numerical data type can be taken |

## Example

```text
drop table if exists t1;
create table t1(a int,b float);
insert into t1 values(1,3.14159);
insert into t1 values(-1,-3.14159);

mysql> select tan(a),tan(b) from t1;
+--------------------+--------------------------+
| tan(a)             | tan(b)                   |
+--------------------+--------------------------+
| 1.557407724654902  | -0.000002535181590118894 |
| -1.557407724654902 | 0.000002535181590118894  |
+--------------------+--------------------------+
2 rows in set (0.01 sec)

```
