Description
mixed min
(mixed arg1, mixed arg2, mixed argn)
Min() returns the numerically lowest of the
parameter values.
If the first parameter is an array, min()
returns the lowest value in that array. If the first parameter
is an integer, string or double, you need at least two parameters
and min() returns the lowest of these values.
You can compare an unlimited number of values.
If one or more of the values is a double, all the values will be
treated as doubles, and a double is returned. If none of the
values is a double, all of them will be treated as integers, and
an integer is returned.