target.Min

Description

Compares 2 or 3 numeric, date, or string values and returns the minimum value.  String values are compared based on their ASCII value.

Syntax

Function Min(val1, val2, val3(optional))

Parameters

variant val1 - a numeric, date, or string value to be checked. (required)

variant val2 - a numeric, date, or string value to be checked. (required)

variant val3 - a numeric, date, or string value to be checked. (optional)

Return value

variant value - the smallest/minimum value

See also

Platform Objects and Methods

target.Max

target.Message

Target Methods