> ## Documentation Index
> Fetch the complete documentation index at: https://learn.workflow.dog/llms.txt
> Use this file to discover all available pages before exploring further.

# Round

> Round a number to a chosen number of decimal places.

The **Round** action rounds a number to the nearest value at the configured
decimal precision.

## Inputs

| Input              | Type   | Required | Description                                           |
| ------------------ | ------ | -------- | ----------------------------------------------------- |
| **Number**         | Number | Yes      | The value to round.                                   |
| **Decimal Places** | Number | No       | Non-negative whole-number precision. Defaults to `0`. |

## Outputs

| Output      | Type   | Description                |
| ----------- | ------ | -------------------------- |
| **Rounded** | Number | The rounded numeric value. |

## Examples

| Number    | Decimal Places | Rounded                                         |
| --------- | -------------- | ----------------------------------------------- |
| `12.3456` | `0`            | `12`                                            |
| `12.3456` | `2`            | `12.35`                                         |
| `1.005`   | `2`            | May be `1` due to floating-point representation |

<Note>
  The result is a number, so trailing zeroes are not preserved. Rounding `4.5`
  to two decimal places returns the numeric value `4.5`, not formatted text
  `4.50`.
</Note>
