...

View Full Version : Rating System ( Math )



the-dream
01-26-2008, 05:28 PM
Ok i have a website and i has a page where people can submit a rating:
1 2 3 4 5 6 7 8 9 10

It uses this calculation:

$vote = $uservote + $row_RSVoteOnGame['userscore'] / 100 * $row_RSVoteOnGame['uservotes'];
$vote = round($vote, '1');
$votes = $row_RSVoteOnGame['uservotes'] + 1;

But this doesen't give me and accurate out of 10 calc, could someone please show me an accurate way of doing this!



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum