# Round (Decimal)

| **Name**    | ***Round (Decimal)***                                                          |
| ----------- | ------------------------------------------------------------------------------ |
| Syntax      | Round (Decimal number)                                                         |
| Purpose     | To round a given number                                                        |
| Description | Rounds a decimal to number to the nearest integer value.                       |
| Return Type | Integer                                                                        |
| Parameters  | number \[System.Decimal] – Number for which the rounded value will be returned |

![](https://3083465318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsR50Wa7EwZGlmPSAMkkf%2Fuploads%2FYYfftFMj7qDBaAGll0vi%2F0.png?alt=media)

**Example**

In this example, we are passing a decimal value to the function transformation object using a *Variables* object.

Where,

*number* = 12.345

<figure><img src="https://3083465318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsR50Wa7EwZGlmPSAMkkf%2Fuploads%2FqR97tYTiVQkgL4fsFGeU%2F1.png?alt=media" alt=""><figcaption></figcaption></figure>

In the *Data Preview* window, you can see that the rounded value, 12, has been generated.

![](https://3083465318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsR50Wa7EwZGlmPSAMkkf%2Fuploads%2FGykSV6ME51GWrbMAO2IS%2F2.png?alt=media)
