I'm fiddling with this function in my plugboard, but can't get it to show half stars. It uses a column for Goodreads ratings in the format x.xx.
Tried:
rating_to_stars(value,use_half_stars)
rating_to_stars(value,1)
rating_to_stars(value,use_half_stars=1)
...and more, but I guess I don't understand what to do. I get only whole stars.
How do I get half stars to work?
|