Renders a star rating (<div class="gl-rating gl-rating--stat">) with an optional label, five ★ stars (filled up to the rounded value), and a N.N/5 value. The value is parsed with parseFloat.
<div class="gl-rating gl-rating--stat">
★
N.N/5
parseFloat
Field configuration (label is rendered when present).
label
Already-resolved numeric rating (0–5).
The rendered element, or null when the value is non-numeric.
null
Renders a star rating (
<div class="gl-rating gl-rating--stat">) with an optional label, five★stars (filled up to the rounded value), and aN.N/5value. The value is parsed withparseFloat.