Rick Faircloth wrote: >>Or #arrayMax(listToArray(numbers))# > >>For flexibility, how about this: ListFirst(ListSort(numbers,'numeric')) > > > And how, exactly, would these assist in obtaining > the top value of 3 numbers? > > Does "arrayMax" put the maximum value first in the array?
No, it searches the array and returns the maximum value in it. > I guess "ListFirst(ListSort(..." would put the maximum value first in the > list? No, it doesn't touch the list except to sort it, and then return the first value in the list. If it's just three numbers, then Max(Max(a, b), c) is fine, but as the saying goes, "two is an impossible number"[1]: it's worth generalising this to cope with any number of values, which is what everybody was doing. K. [1] http://c2.com/cgi/wiki?TwoIsAnImpossibleNumber ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:203072 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54