Quote:
Originally Posted by vlad59
@micster
I didn't know the ratings could be a float. Within Calibre you can only set it to value from 0 stars to 5 stars or did I miss a setting ?
Once I find out how to have a correct testcase I'll fix it soon.
|
My books seem to be rated from
0-10. And yes, they start off as whole numbers and not floats. But then if a book has a rating of
five and then it gets divided by
2 in the function
getRating () we are left with the float
2.5 which causes a problem.