min (Function) |
Top Previous Next |
The min function takes two numbers as parameters and returns the value of the lowest of the two numbers.
Input: a : DINT The first value.
b : DINT The second value.
Returns: DINT The lowest value..
Declaration: FUNCTION min : DINT;
Example: INCLUDE rtcu.inc |