---
title: Rounding
slug: litmusedge-v2/rounding
docTags: 
createdAt: 2024-08-06T18:58:40.720Z
---

The **Rounding** processor allows you to make a number simpler while keeping its value close to the absolute value.

# Rounding Overview

- Enter the number of digits you would like to round to e.g. entering 2, will give results like 10.22. 10.44 (but not 10.556).
  - Entering 0 will ignore all floating point values, and just give the integer value.
- RoundNearest returns the nearest decimal e.g. 10.6 gives 11, 10.1 gives 10.
- RoundUp returns the next smallest decimal e.g. 10.6 gives 11, 10.1 also gives 11.
- RoundDown returns the previous largest decimal e.g. 10.6 gives 10, 10.1 also gives 10.
- RoundEven returns the nearest integer, rounding ties to even (number of digits entered are irrelevant for this case).

# Rounding Parameters

| **Parameters** | **Details**                                                               |
| -------------- | ------------------------------------------------------------------------- |
| Digits         | This parameter determines the number of decimal places to round to. &#xD; |
| Method         | This parameter allows you to select the rounding method.                  |

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/80oxL69h4HAoswGvn98jR_image.png" size="80" width="960" height="688" caption="Rounding parameters" position="center" showCaption="true"}

:::hint{type="info"}
**Note:&#x20;**&#x57;hen creating an analytics flow with *Rounding&#x20;*&#x70;rocessor, refer the [Use the Rounding Function](docId\:YR-z7-26mG4mL6bAdPwmg) guide for more details.
:::

