---
name: "pi"
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/pi
revid: 319402
updated: 2022-05-13T09:24:00Z
---

# pi

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

## Description

pi (180 degrees converted to [Radians](../topics/Number.md#radians)).

## Syntax

```sqf
pi
```

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

## Examples

### Example 1

```sqf
_radians = 2 * pi; // Result is 6.2830
```

## See also

[tan](../commands/tan.md) · [cos](../commands/cos.md) · [sin](../commands/sin.md)

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