Dave,

It barfs, saying it encountered non numeric values.

Kevin


-----Original Message-----
From: Dave Watts [mailto:[EMAIL PROTECTED]] 
Sent: Friday, May 24, 2002 2:36 PM
To: CF-Talk
Subject: RE: Array questions

> So will arrayAvg(myArray[1]) work?

If myArray[1] is itself an array, and that array contains numeric
values,
yes, it'll return the average of all elements within myArray[1]. I'm not
sure what it would do if the array contained any non-numeric values,
though.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to