@Max
Syntax
@Max(FN1;FN2);
@Max(FNLIST1;FN2);
@Max(FN1;FNLIST2);
@Max(FNLIST1;FNLIST2);
Description
Returns the maximum of FN/FNLIST FN1/FNLIST1 and FN/FNLIST FN2/FNLIST2. To do this, each element of FNLIST1 is compared with the corresponding element of FNLIST2. If one list is shorter, its last element is used for all missing elements. The same applies for FN1 is called with FNLIST2 or FNLIST1 is called with FN2. The larger element in each comparison then appears in the result.
Example: @Max(FN1;FN2)
FN1:=10;
FN2:=15;
@Max(FN1;FN2);
returns 15
Example: @Max(FNLIST1;FN2)
FNLIST1:=10:12:18:25;
FN2:=17;
@Max(FNLIST1;FN2);
returns 17:17:18:25
Example: @Max(FN1;FNLIST2)
FN1:=17;
FNLIST2:=10:12:18:25;
@Max(FN1;FNLIST2);
returns 17:17:18:25
Example: @Max(FNLIST1;FNLIST2)
FNLIST1:=10:12:18:25;
FNLIST2:=14:11:34:23;
@Max(FNLIST1;FNLIST2);
returns 14:12:34:25
Note : This text was machine-translated and may contain inaccuracies.
