Title: Error with the average number
Last modified: August 21, 2016

---

# Error with the average number

 *  [MR. ShockWave](https://wordpress.org/support/users/mr-shockwave/)
 * (@mr-shockwave)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/error-with-the-average-number/)
 * Hi,
 * I use this plugin recently, and it is absolutely fantastic, but I sensed an error.
   The value of predefenido is 5 stars, but I prefer to use 10 because it is more
   accurate. However when someone is going to vote for example the average 6 stars
   instead of getting 6 is 3, and then someone else will and vote 4 stars and the
   average is 3.5, ie is always half. Would you like to help me solve the problem.
 * [http://wordpress.org/plugins/kk-star-ratings/](http://wordpress.org/plugins/kk-star-ratings/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [nhakeem](https://wordpress.org/support/users/nhakeem/)
 * (@nhakeem)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/error-with-the-average-number/#post-4327182)
 * hi Mr. Shockwave,
 * have u reached a solution for this?
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/error-with-the-average-number/#post-4327185)
 * **[@nhakeem](https://wordpress.org/support/users/nhakeem/)**: If you require 
   assistance then, as per the [Forum Welcome](http://codex.wordpress.org/Forum_Welcome#Where_To_Post),
   please post your own topic.
 *  Thread Starter [MR. ShockWave](https://wordpress.org/support/users/mr-shockwave/)
 * (@mr-shockwave)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/error-with-the-average-number/#post-4327187)
 * No, not yet, I was hoping that the plugin developer could help me :s
 *  Thread Starter [MR. ShockWave](https://wordpress.org/support/users/mr-shockwave/)
 * (@mr-shockwave)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/error-with-the-average-number/#post-4327231)
 * Please, I’m looking for an answer for 4 months, I’m desperate to find a solution.
 *  [shkasjon](https://wordpress.org/support/users/shkasjon/)
 * (@shkasjon)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/error-with-the-average-number/#post-4327275)
 *     ```
       find on kk-star-ratings/index.php this line
       $avg = $score ? number_format((float)($score/$votes)
       and replace to
       $avg = $score ? number_format((float)($score/$votes)*2
       ```
   
 * I don`t now if its right.. but it works!
 *  Thread Starter [MR. ShockWave](https://wordpress.org/support/users/mr-shockwave/)
 * (@mr-shockwave)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/error-with-the-average-number/#post-4327276)
 * Hmm.. Thanks I’ll try it.

Viewing 6 replies - 1 through 6 (of 6 total)

 The topic ‘Error with the average number’ is closed to new replies.

 * ![](https://ps.w.org/kk-star-ratings/assets/icon-256x256.jpg?rev=2140680)
 * [kk Star Ratings - Rate Post & Collect User Feedbacks](https://wordpress.org/plugins/kk-star-ratings/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/kk-star-ratings/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/kk-star-ratings/)
 * [Active Topics](https://wordpress.org/support/plugin/kk-star-ratings/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/kk-star-ratings/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/kk-star-ratings/reviews/)

 * 6 replies
 * 4 participants
 * Last reply from: [MR. ShockWave](https://wordpress.org/support/users/mr-shockwave/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/error-with-the-average-number/#post-4327276)
 * Status: not resolved