# 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://3083465318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsR50Wa7EwZGlmPSAMkkf%2Fuploads%2FL5qNfX76HvakUEBXrmNX%2F0.png?alt=media)

**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://3083465318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsR50Wa7EwZGlmPSAMkkf%2Fuploads%2Ftl4G5YKciZ8nwGGayR4H%2F1.png?alt=media" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://3083465318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsR50Wa7EwZGlmPSAMkkf%2Fuploads%2F9tquzrmDnnrhzpbZO4KP%2F2.png?alt=media" alt=""><figcaption></figcaption></figure>
