RE: [PHP] Tired and feeling dumb...maths question....
| From: | Chris W. Parker | Date: | Thu, 14 Jul 2005 19:17:14 +0000 |
| Subject: | RE: [PHP] Tired and feeling dumb...maths question.... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-218709@lists.php.net to get a copy of this message | ||
Ryan A <mailto:ryan@coinpass.com>
on Thursday, July 14, 2005 12:17 PM said:
> Hey,
Hey.
> people vote on a scale of 1-5, so the average should be between 1-5
> (right?? am not even sure of this!)
Yes.
> I was thinking of rounding it with a 2 decimal point...eg:
> round(5.045, 2)
>
> Just need to solve this and them am hitting the sack, any help
> appreciated.
Solve what? I must have missed the problem.
Chris.