Quote:
Originally Posted by vlad59
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.