August 2001
Intermediate to advanced
976 pages
38h 8m
English
ArrayMin
ArrayMin(array)Returns the smallest numeric value contained in the array. Useful
only for arrays containing numeric values. Here’s an example
that returns the lowest grade in the array Grades:
<CFSET Grades = ArrayNew(1)> <CFSET Grades[1] = 95> <CFSET Grades[2] = 93> <CFSET Grades[3] = 87> <CFSET Grades[4] = 100> <CFSET Grades[5] = 74> <CFOUTPUT>The lowest grade is #ArrayMin(Grades)#%.</CFOUTPUT>
Read now
Unlock full access