Min

This function evaluates to the smaller of its two arguments.

Description

The lesser 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 lesser of the two numbers is returned.

Comments

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

 
Min(100"cfs", 10"cms") returns 100 "cfs"
Min(Powell.Storage[], Mead.Storage[]) returns 12236343.55 "m3"