# 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://content.gitbook.com/content/zEifS4h8yurLAAwiGNX2/blobs/NtUu5HZjo814TRKkwPni/0.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://content.gitbook.com/content/zEifS4h8yurLAAwiGNX2/blobs/0YQNPBXuHtmgdtL4MK3y/1.png" alt=""><figcaption></figcaption></figure>

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

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