# Min (Integer)

| **Name**    | ***Min (Integer)***                                                                    |
| ----------- | -------------------------------------------------------------------------------------- |
| Syntax      | Min (Integer first, Integer second)                                                    |
| Purpose     | To return the smaller of two integer values.                                           |
| Description | Returns the minimum of two integer values.                                             |
| Return Type | Int64                                                                                  |
| Parameters  | <p>first \[System.Int64] – First value</p><p>second \[System.Int64] – Second value</p> |

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

**Example**

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

Where,

*first* = 1234

*second* = 4321

<figure><img src="https://github.com/astera-software/Astera_Data_Stack_v9/blob/main/.gitbook/assets/1%20(48).png" alt=""><figcaption></figcaption></figure>

In the output window, you can see that the smaller integer value has been returned.

<figure><img src="https://github.com/astera-software/Astera_Data_Stack_v9/blob/main/.gitbook/assets/2%20(48).png" alt=""><figcaption></figcaption></figure>
