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

# atg

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

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

## Description

Returns the **arcus tangens**.

## Syntax

```sqf
atg x
```

**Parameters:**

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

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

## Examples

### Example 1

```sqf
_atanThreeFifth = atg 3/5;
```

## See also

[atan](../commands/atan.md)

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