# ROUND Function

> Round a number to decimal places, an integer or tens and hundreds with the ROUND formula function of TX Sheet Control: halves are rounded away from zero.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Function
- **Path:** TX Sheet Control > API Reference > Formula Functions > ROUND Function
- **206 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/round/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/round/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/round/llms-full.txt

---

Round a number to a specified number of digits. `number` is the number and `num_digits` the number of digits: a positive value rounds to decimal places, 0 to an integer and a negative value to the left of the decimal point, so `ROUND(123.456,-1)` returns 120. A half is rounded away from zero: `ROUND(2.5,0)` returns 3 and `ROUND(-2.5,0)` returns -3.

### Syntax

```text
ROUND(number, num_digits)
```

Category: Math. Minimum arguments: 2. Maximum arguments: 2.

Available for supported offline calculation.

### Examples

```text
=ROUND(123.456,2)
```

The formula returns 123.46.

Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.

### See Also

- [Formulas](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/formulas/llms-full.txt)
- [Custom Functions and Formula Data](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/custom-functions/llms-full.txt)

---

## Nearby

- **Previous:** [ROMAN Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/roman/llms-full.txt)
- **Next:** [ROUNDDOWN Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/rounddown/llms-full.txt)
