# 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://content.gitbook.com/content/zEifS4h8yurLAAwiGNX2/blobs/WXiykiNvAID7ftapItYC/0.png)

**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://content.gitbook.com/content/zEifS4h8yurLAAwiGNX2/blobs/IQdgIYMciobEuNJahUKY/1.png" alt=""><figcaption></figcaption></figure>

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

![](https://content.gitbook.com/content/zEifS4h8yurLAAwiGNX2/blobs/TkiNaL8HbyrUDKRnCuJx/2.png)
