The rating component layout/functionality breaks when its precision configuration is set to "half" and the defined Kendo culture is "de-DE".
numberFormat: {
pattern: ["-n"],
decimals: 2,
",": ".",
".": ",",
is changed to this:
numberFormat: {
pattern: ["-n"],
decimals: 2,
",": "'",
".": ",",
The issue is no more reproducing
The layout of the rating component with "half" precision doesn't visualize the "half" precision and the value of the current rating is displayed without a decimal point
The expected behavior can be observed in this Dojo example
The decimal place is only considered up to the 5th decimal, such as 2.5 for example.
Therefore, if the Rating receives a value such as 2.1, 2.2, 2.3, 2.4, 2.5, it normally presents, as in the image below.
After the decimal 5, the decimal place is disregarded, rounding up to the next whole number.
So, if the Rating receives a value such as 2.6, 2.7, 2.8, 2.9, it presents incorrectly, as in the image below.
The problem is not in the filling of the stars, since Kendo makes it clear in its documentation that even the decimal 5 is considered as a half star, from that it would really be an entire star.
The problem is related to the label, which in this last example should have “2.6 / 5” instead of “3/5”.
In the link below to see a simulation.
When adding a Rating with precision:"half"
in a Gantt tooltip template the half item is not rendered. Using Rating with precision:"item"
works as expected.
Rating is set to 2.5, but the half item is not rendered.
Rating configured with precision:"half" should render the half item.