RE: [PHP-WIN] Mathimatical equations in PHP
| From: | Mike Flynn | Date: | Fri, 28 Dec 2001 16:32:18 +0000 |
| Subject: | RE: [PHP-WIN] Mathimatical equations in PHP | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-11183@lists.php.net to get a copy of this message | ||
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:todd@williamsen.net] Sent: Friday, December 28, 2001 5:04 PM To: php-windows@lists.php.net 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?