Take your list: MyList and cast it into an array, then use the ArrayMax
function.

eg:

<CFSCRIPT>

        MyArray = ListToArray(MyList);
        MaxValue = ArrayMax(MyArray);

</CFSCRIPT>

<CFOUTPUT>

#Variables.MaxValue

</CFOUTPUT>

Good luck,
Beau

Adrian Cesana wrote:
> 
> How can I find the MAX numeric value in a list?
> 
> -Adrian
> 
> ------------------------------------------------------------------------------
> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit 
>http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
>message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

-- 
+++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Beau A.C. Harbin                                  +
+                                         Developer +
+ [EMAIL PROTECTED]            Allaire Instructor +
+                                                   +
+ Fig Leaf Software          http://www.figleaf.com +
+                                                   +
+ 202.797.5449 (p)                 202.797.5444 (f) +
+++++++++++++++++++++++++++++++++++++++++++++++++++++
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to