Min (Decimal)
Name | Min (Decimal) |
Syntax | Min (Decimal first, Decimal second) |
Purpose | To return the smaller of two decimal values. |
Description | Returns the minimum of two decimal values. |
Return Type | Decimal |
Paramaters | first [System.Decimal] – First value second [System.Decimal] – Second value |
Example
In this example, we are passing decimal values to the function transformation object using a Variables object.
Note: This function also takes into account negative values.
Where,
first = 1.23
second = 3.21
In the output window, you can see that the smaller decimal value has been returned.