View Single Post
Old 07-24-2014, 03:18 PM   #947
micster
Enthusiast
micster began at the beginning.
 
Posts: 39
Karma: 10
Join Date: May 2012
Device: none
Quote:
Originally Posted by vlad59 View Post
I know that, I just tried to change the rating of a book with Calibre and Calibre does not allow to use float ratings or maybe I'm missing a setting
You are correct that there are no "Half-Star" ratings in Calibre, I should have been more clear. But what are the values of your book ratings from Calibre?

When I added this code to the getRating () function...
PHP Code:
echo $this->rating 
... I got values returned that were higher than five. They seem to be rated from 0-10 which I assume is why they are being divided by 2 in the getRating () function, correct? And it's this function (and not Calibre) that is creating the floats I believe.

Sorry if I'm not being clear. Perhaps I am missing something also.
micster is offline   Reply With Quote