Coldfusion Array Min function returns the smallest number from the array. If the array parameter value is an empty array then it returns zero.

Syntex
arrayMin(array [, parallel] [, maxThreadCount])
Parameters
array: Name of an array
parallel: True if you want to enable parallel programming.
maxThreadCount: The number of threads the function can execute. The number of threads must be between 1-50. If the value exceeds 50, there is an exception.

Example

<cfscript>
       myArray=[23,76,1,-43,9,112];
       minVal=ArrayMin(myArray);
       WriteOutput(minVal)// Returns -43
</cfscript>
<cfscript>
       someArray = arrayNew(1);
       writeOutput(arrayMin(someArray));// Returns 0
</cfscript>
someArray = [23,45,99,1,4];
writeOutput(someArray.Min());// Returns 1