MAXIMUM


The MAXIMUM function is used to return the element of a dynamic array with the highest numerical value.

 

COMMAND SYNTAX

MAXIMUM(DynArr)

 

SYNTAX ELEMENTS

DynArr should evaluate to a dynamic array.

 

NOTES

Null dynamic array elements are treat as zero.
Non-numeric dynamic array elements are ignored.

See also MINIMUM.

 

EXAMPLE

If EResults is a variable containing the dynamic array:

1.45032:@AM:-3.60441:@VM:4.29445:@AM:2.00042:@SM:-3.90228

the code:

PRECISION 5
CRT = MAXIMUM(EResults)

displays 4.29445


jBC