Max

This function evaluates to the greater of its two arguments.

Description

The greater value.

Type

NUMERIC

Arguments

Type

Meaning

1

NUMERIC

the first value

2

NUMERIC

the second value

Evaluation

The two numbers are converted to a common unit and compared. The greater of the two numbers is returned.

Comments

If the values are of a different unit type, this function aborts the run with an error.

 
Max(100"cfs", 10"cms") = 10.000 "cms"
Max(Powell.Storage[], Mead.Storage[]) = 1233481837.55 "m3"