RE: [PHP] Average Number For Math Functions
| From: | Martin Towell | Date: | Fri, 30 Aug 2002 01:14:03 +0000 |
| Subject: | RE: [PHP] Average Number For Math Functions | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-114578@lists.php.net to get a copy of this message | ||
just sum them up and divide by the count - making sure to deal with a count
of zero
-----Original Message-----
From: JohnP [mailto:aerc@aerc.biz]
Sent: Friday, August 30, 2002 10:56 AM
To: php-general@lists.php.net
Subject: [PHP] Average Number For Math Functions
Ok I looked at all the math functions for PHP but saw no way of returning
the average of a set of numbers - I plan on using this for a rating system -
any help?
--
John