Re: Mean

From: Date: Fri, 19 Jan 2001 22:52:21 +0000
Subject: Re: Mean
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-44608@lists.php.net to get a copy of this message
On Fri, 19 Jan 2001, Jason Greene wrote: > I was just looking at php4/TODO. > > What is the desired capability for array_mean? Is this refering to the mean of all numerical > elements in the > list? Is the desired functionality to count non numerical data as 0's or to completly > ignore them from the alg? That can be removed from TODO. The desired functionality can be achieved by array_sum($array)/count($array). -Andrei "The only true currency in this bankrupt world is what we share with each other when we're uncool." -- Lester Bangs, from the film 'Almost Famous'

« previous php.dev (#44608) next »