# CEILING.MATH Function

> Round a number up to the nearest integer or multiple with CEILING.MATH in TX Sheet Control: significance, mode for negative numbers and an example formula.

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

---

Round a number up to the nearest integer or multiple of a significance. `significance` is the multiple to round to, 1 when omitted; its sign is ignored, and 0 returns 0. A negative number is rounded toward zero (`CEILING.MATH(-4.2)` returns -4), or away from zero when `mode` is a number other than 0 (-5).

### Syntax

```text
CEILING.MATH(number, significance, mode)
```

Category: Math. Minimum arguments: 1. Maximum arguments: 3.

Available for supported offline calculation.

### Examples

```text
=CEILING.MATH(4.2,1)
```

The formula returns 5.

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:** [CEILING Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/ceiling/llms-full.txt)
- **Next:** [CEILING.PRECISE Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/ceiling-precise/llms-full.txt)
