Hey,
At this stage am pretty much brain dead and getting a simple percentage is
too much for me now.

Basically, I have these two fields:
$pic_no_of_votes
$vote_total_pts

and this totals them up and keeps the average:
$average_pts

people vote on a scale of 1-5, so the average should be between 1-5 (right??
am not even sure of this!)

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.

Thanks,
Ryan

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to