---
name: "atan"
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/atan
revid: 349989
updated: 2023-11-20T22:11:41Z
---

# atan

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

Alias: [atg](../commands/atg.md)

## Description

Returns the **arcus tangens**.

## Syntax

```sqf
atan x
```

**Parameters:**

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

**Returns:** [Number](../topics/Number.md) - result is in degrees

## Examples

### Example 1

```sqf
_degrees = atan 1; // 45
```

## See also

[atg](../commands/atg.md) · [atan2](../commands/atan2.md)

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