---
name: "round"
type: command
status: ok
groups: ["Math"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/round
revid: 319690
updated: 2022-05-13T09:24:42Z
---

# round

*Command · Math · Arma 3 v0.50 · introduced in Armed Assault v1.00*

## Description

Rounds the provided value to the closest integer.

## Syntax

```sqf
round value
```

**Parameters:**

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

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

## Examples

### Example 1

```sqf
round 5.25; // returns 5
```

### Example 2

```sqf
round -5.25; // returns -5
```

## See also

[floor](../commands/floor.md) · [ceil](../commands/ceil.md) · [linearConversion](../commands/linearConversion.md)

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