Alright, you can find a few places to download UDFs for finding the least numeric value in a list or the greatest numeric value in a list. I may put my own versions here later on.
I read in an article by a well-known cf'er that if you want to get the minimum value of a list, you would need to loop over it.
That's not true. The following isn't pretty but its a lot faster than using a cfloop.
Finding the minimum value
ListFirst(ListSort(NumericList_Name, "numeric", "asc"))
Finding the maximum value
ListFirst(ListSort(NumericList_Name, "numeric", "desc"))
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.