Huh?  To average?  You just use addition and division.  It doesn't require 
a function.  A function would not only be silly but probably take more 
keystrokes just to type.

Average = sum of units' values / number of units.

Additionally, you can do this automatically if you're storing your values 
in a database such as MySQL, using built-in functions.  See the MySQL 
manual (www.mysql.com) or whatever database for more on this.

-Mike

At 05:11 PM 12/28/2001 +0100, Svensson, B.A.T. (HKG) wrote:
>I am kind of pessimistic by nature, and would not with out having checked
>out this thing believe the case is not in you favor this time.
>
>         /Anders
>
> >-----Original Message-----
> >From: Todd Williamsen [mailto:[EMAIL PROTECTED]]
> >Sent: Friday, December 28, 2001 5:04 PM
> >To: [EMAIL PROTECTED]
> >Subject: Re: [PHP-WIN] Mathimatical equations in PHP
> >
> >
> >That is not what I was looking for, is there a function in PHP
> >that does this?
> >



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to