# 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://github.com/astera-software/Astera_Data_Stack_v9/blob/main/.gitbook/assets/0%20\(185\).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://github.com/astera-software/Astera_Data_Stack_v9/blob/main/.gitbook/assets/1%20(185).png" alt=""><figcaption></figcaption></figure>

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

![](https://github.com/astera-software/Astera_Data_Stack_v9/blob/main/.gitbook/assets/2%20\(186\).png)
