# Round

The **Round** function rounds a number to the specified number of digits. When digits is not specified, the number is rounded to the nearest whole number by default.

### Usage

```
Round(number, [digits])
```

Function arguments:

* **number** (required) Number to be rounded.
* **digits** (optional) Number of decimal places to round the number. If not provided, defaults to 0.

The underlying formula is as follows:

```
(number/10^digits) * (10^digits)
```

> ### 📘A negative digits value returns an integer with the specified least-significant digits zeroed.

> ### 📘Rounding is different than formatting. The result can have fewer digits than specified. Rounding does not add trailing zeroes.

### Example

```
Round(Pi())
```

* Returns 3

```
Round(3.1, 2)
```

* Returns 3.1

```
Round(1234, -2)
```

* Returns 1200

### More examples

<figure><img src="https://files.readme.io/76abc1d-vvv.png" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://support.meetuma.ai/uma-knowledgebase/data-and-reporting/analytics-pro/functions/math-functions/round.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
