# Round (Decimal Integer)

| **Name**    | ***Round (Decimal-Integer decimals)***                                                                               |
| ----------- | -------------------------------------------------------------------------------------------------------------------- |
| Syntax      | Round (Decimal number, Integer decimals)                                                                             |
| Purpose     | To round a given number to a specified number of decimal places.                                                     |
| Description | Rounds a given number to the specified number of decimal places.                                                     |
| Return Type | Real                                                                                                                 |
| Parameters  | <p>number \[System.Decimal] – Number for which the rounded value will be returned</p><p>decimals \[System.Int64]</p> |

![](https://content.gitbook.com/content/zEifS4h8yurLAAwiGNX2/blobs/WRGTx0jFYk0piMKw6Mz7/0.png)

**Example**

In this example, we are passing a decimal value and an integer value (to specify decimal places) to the function transformation object using a *Variables* object.

Where,

*number* = 12.3456789

*decimals* = 3

<figure><img src="https://content.gitbook.com/content/zEifS4h8yurLAAwiGNX2/blobs/G59EHV5I8HEHOOfh3lnK/1.png" alt=""><figcaption></figcaption></figure>

In the *Data Preview* window, you can see that a value, truncated to the specified number of decimal places, has been generated.

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