tracker issue : CF-3038357

select a category, or use search below
(searches all categories and all time range)
Title:

Bug 76864:(Watson Migration Closure)Please add support for a single array argument to the max( ) and min( ) functions

| View in Tracker

Status/Resolution/Reason: Closed/Deferred/

Reporter/Name(from Bugbase): David McGuigan / David McGuigan (David McGuigan)

Created: 04/27/2009

Components: Language

Versions: 9.0

Failure Type: Unspecified

Found In Build/Fixed In Build: 0000 /

Priority/Frequency: Normal / Unknown

Locale/System: English / Win All

Vote Count: 1

Problem:

Please add support for a single array argument to the max( ) and min( ) functions.

<cfset candidates = [ 4, 29, 150, 2, 8205, 16 ] />
<cfset highest = max( candidates ) /> <!--- 8205 --->
<cfset lowest = min( candidates ) /> <!--- 2 --->
Method:


Result:

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3038357

External Customer Info:
External Company:  
External Customer Name: David McGuigan
External Customer Email: 5E0D54C04462BF5E992016B6
External Test Config: 04/27/2009

Attachments:

Comments:

-1 vote, if I understand you correctly. You seem to be describing the arrayMin() and arrayMax() functions that already exist? -- Adam
Vote by External U.
23756 | November 10, 2011 07:20:09 PM GMT