Table of Contents

min

Description

Return the lesser of two numbers.

Function prototype

variant min <variant:arg1> <variant:arg2>

Arguments

Name Type Comment
arg1 variant The first number to be evaluated.
arg2 variant The second number to be evaluated.

Return value

The lesser of arg1 and arg2.

Example

echo <zs:min 1 2>

… the output of which is written to the event log by echo as:

1

Comments

None.

See also