View Single Post
Old 05-28-2021, 04:27 PM   #2253
Phil_C
Addict
Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.Phil_C ought to be getting tired of karma fortunes by now.
 
Phil_C's Avatar
 
Posts: 277
Karma: 391602
Join Date: Oct 2009
Location: Chicago, IL USA
Device: Sony PRS-350; Kobo Clara HD; Kobo Clara 2E; Kobo Clara BW
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?
Phil_C is offline