In This Topic
Syntax
HIGH(arg1; arg2 [; arg3] ...)
Arguments
Accepts two or more arguments, which may be either single values or arrays.
Result
If all the arguments are single values, the result is also a single value.
If there is at least one array-argument, the result is an array. The size of the result is equal to the size of the input array.
If there is more than one array-argument, the size of the result is equal to the size of the smallest array-argument.
Description
Each element of the result is equal to the highest of the corresponding elements of the input arguments.
Example 1:
Expression: HIGH(arg1; 5.0)
arg1 |
5.8 |
3.2 |
1.0 |
6.9 |
1.7 |
result |
5.8 |
5.0 |
5.0 |
6.9 |
5.0 |
Example 2:
Expression: HIGH(arg1; arg2)
arg1 |
5.8 |
3.2 |
1.0 |
6.9 |
1.7 |
arg2 |
12 |
0 |
3.1 |
3.1 |
2.0 |
result |
12 |
3.2 |
3.1 |
6.9 |
2.0 |
Related Examples
Windows Forms: All Examples\Data Manipulation\Functions\Statistical\Basic Functions