# Round (Real Integer)

| **Name**    | ***Round (Real-Integer decimals)***                                                                                 |
| ----------- | ------------------------------------------------------------------------------------------------------------------- |
| Syntax      | Round (Real 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.Double] – Number for which the rounded value will be returned</p><p>decimals \[System.Int64]</p> |

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

**Example**

In this example, we are passing a real 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://3083465318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsR50Wa7EwZGlmPSAMkkf%2Fuploads%2Fn1ra3sj4tMyQpqaifcP6%2F1.png?alt=media" alt=""><figcaption></figcaption></figure>

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

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