---
name: "tan"
type: command
status: ok
groups: ["Math - Geometry"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/tan
revid: 310889
updated: 2022-05-07T20:31:30Z
---

# tan

*Command · Math - Geometry · Arma 3 v0.50 · introduced in Operation Flashpoint v1.00*

## Description

Tangent of x, argument in [Degrees](../topics/Number.md#degrees).

## Syntax

```sqf
tan x
```

**Parameters:**

- `x`: [Number](../topics/Number.md)

**Returns:** [Number](../topics/Number.md)

## Examples

### Example 1

```sqf
_tangent = tan 45;
```

Result is 1

## See also

Math Commands

<sub>Source: [BI Community Wiki — tan](https://community.bistudio.com/wiki/tan) (revision 310889).</sub>
