New to Telerik UI for ASP.NET MVC? Start a free 30-day trial
Precision
Updated on Oct 28, 2025
The Rating allows you to control the precision with which an item is selected.
To configure the Precision property, use either of the available properties:
item—Selects the whole item.half—Selects half of the item.
Item Precision
The item mode is the default precision mode of the Rating. If not configured, the widget will automatically set the Precision property to "item" which enables only whole stars to be selected by click or keyboard interaction.
Razor
@(Html.Kendo().Rating()
.Name("rating")
.Precision("item")
)
Half Precision
To configure he half precision mode of the Rating, set the Precision option to "half" which allows you to set decimal values. The passed value is rounded during the rendering phase to display a full or half item based on the following value specifics:
- A value which is less than or equal to
.5displays half an item. - A value which is greater than
.5displays a full item.
Razor
@(Html.Kendo().Rating()
.Name("rating1")
.Min(1)
.Max(6)
.Value(3.2)
.Precision("half")
)
<br>
@(Html.Kendo().Rating()
.Name("rating2")
.Min(1)
.Max(6)
.Value(3.5)
.Precision("half")
)
<br>
@(Html.Kendo().Rating()
.Name("rating3")
.Min(1)
.Max(6)
.Value(3.7)
.Precision("half")
)