Category: Arithmetics
Since engine version: 1.0 OC
Min
Description
Returns the lesser of two values.
Syntax
int Min(int value1, int value2);
Parameters
- value1:
- first Value
- value2:
- second Value
Min
Category: Arithmetics
Since engine version: 7.0 OC
Since engine version: 7.0 OC
Description
Returns the smallest value from an array. All array elements must be
integers (or convertible to integer).
Syntax
int Min(array values);
Parameter
- values:
- array of integers