Click here to Skip to main content
16,004,974 members

Comments by varun491 (Top 2 by date)

varun491 21-Jun-12 8:54am View    
not solved yet..
can anyone help.
varun491 21-Jun-12 3:32am View    
when you see the table 'friendList'
To calculate rating for Varun:
in first row Varun is in receiver column so i check the value in receiverRated for 1st row . i.e 4

Then in third row varun is the sender so I check the rating for varun in SenderRated column for this row . i.e 2

Then I add the ratings and divide by the count of the rates
i.e. 4+2/2