Why the division by 5? In kksr_ajax()
-
Hi, I am making a function to ‘manually’ adjust the star rating. I copied and began hacking the kksr_ajax() function. Several times in this func, I see a division by 5 and I’m not sure why. Can you please give me some insight?
$nratings = $ratings + ($stars/($total_stars/5)
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Why the division by 5? In kksr_ajax()’ is closed to new replies.