# max,min

### max(source, ..., sourceN)

Returns the highest number from a list of numbers or/and fields.

### min(source, ..., sourceN)

Returns the lowest number from a list of numbers or/and fields.

## Arguments

Argument | Data Type | Description
source | number | Number or field to be compared

## Returns

The highest or lowest number from an unlimited list of numbers or/and fields.

## Description

Returns the highest or lowest number of a list of numbers or/and fields in the double format. An argument can consist of a number, a field, or the result of any calculation or function as long as that result is returned in number format.

## Examples

For these examples assume that field1 has the value 911 and field2 has the value 999

Example | Returns | Description
max(123, 1234,#f1) | 911.00 | returns the highest number of the arguments
min(1234, #f2) | 999.00 | returns the lowest number of the arguments
max(111.012, 121, (110 -12)) | 121.11 | arithmetic calculations are possible
min(123,321,(max(#f1,#f2)) | 123.00 | combinations of these and every other function are allowed

## See Also

sum, str