# Round

**Introduction**&#x20;

This step rounds a numerical value to a specific number of decimal places, using various rounding modes.

**Configuration**

1. **Value**: Enter the number to be rounded. This is a required field.
2. **Mode**: Choose the rounding mode. Each mode has a specific behavior:
   * **Up**: Rounds away from zero.
   * **Down**: Rounds towards zero.
   * **Ceiling**: Rounds towards positive infinity.
   * **Floor**: Rounds towards negative infinity.
   * **Half up**: Rounds towards the nearest neighbor, rounding up if tied.
   * **Half down**: Rounds towards the nearest neighbor, rounding down if tied.
   * **Half even**: Rounds towards the nearest neighbor, rounding to the nearest even number if tied. This is a required field.
3. **Decimals**: Set the number of decimal places for the rounding. Defaults to 2, with a range of 0 to 20.

**Outputs**

* **Result**: The outcome of the rounding process.

**Usage**&#x20;

Ideal for calculations that require rounding, such as formatting numerical results.


---

# 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://docs.flexy.bot/modules/math/steps/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.
