0
Under review

Stars Displaying Incorrect Rating (4.8 Showing as 5)

Kate 2 months ago updated 2 months ago 2

Hello! When manually setting the rating in the badge to 4.8, the stars are displayed correctly in the preview, with the last star partially filled. However, on the site (I insert the shortcode in Gutenberg), all the stars are fully filled, as if the rating is exactly 5 and not 4.8. How can this issue be resolved?
https://lapa.shop/en/

+1
Under review

I haven't looked at that code lately, but I'm guessing it is rounding the 4.8 up to 5. Anything over 4.75 would go up to 5.

Thank you for your response! You are right. This value is rounded up to 5.