Max (Integer)
Last updated
Last updated
© Copyright 2023, Astera Software
Name | Max (Integer) |
Syntax | Max (Integer first, Integer second) |
Purpose | To return the greater of two integer values. |
Description | Returns the maximum of two integer values. |
Return Type | Int64 |
Parameters | first [System.Int64] – First value second [System.Int64] – Second value |
Example
In this example, we are passing integer values to the function transformation object using a Variables object.
Note: This function also takes into account negative values.
Where,
first = 1234
second = 4321
In the output window, you can see that the greater integer value has been returned.