# Min (Real)

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

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

**Example**

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

Where,

*first* = -1234

*second* = 4.321

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

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

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