# tan() function

The tan() function calculates the trigonometric
tangent of the angle specified in degrees.

## Syntax

```
tan(num.exp)
```

## Parameter(s)

| num.exp | Angle, specified in degrees from 0–360, to calculate its trigonometric tangent. |
| --- | --- |

## Description

The numeric expression is normalized
to the range of 0–360 degrees.

Note: This is only accurate to
three decimal digits.

## Example(s)

```
tan.10 = tan(10)
```

## See also

- [cos() function](https://d3codex.com/pickbasic-flashbasic/cos-function/)
- [BASIC functions](https://d3codex.com/pickbasic-flashbasic/basic-functions/)
- [ln() function](https://d3codex.com/pickbasic-flashbasic/ln-function/)
- [Numeric expressions](https://d3codex.com/pickbasic-flashbasic/numeric-expressions/)
- [sin() function](https://d3codex.com/pickbasic-flashbasic/sin-function/)
- [Statements and functions](https://d3codex.com/pickbasic-flashbasic/statements-and-functions/)

---
Source: https://d3codex.com/pickbasic-flashbasic/tan-function/ - part of the D3Codex reference.
