SharePoint / SharePoint/sp-dev-docs
List view in new List experience: ratings does not display when decimal separator is comma
@Ashlesha-MSFT is already working on this.
Since Mar 20, 2025.
- Dominant language
- PowerShell
- Stars
- 1.4k
- Forks
- 1.1k
- Avg merge
- 4d 12h
- Merged PRs (30d)
- 12
Description
Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
not applicable
Developer environment
None
What browser(s) / client(s) have you tested
- 💥 Internet Explorer
- 💥 Microsoft Edge
- 💥 Google Chrome
- 💥 FireFox
- 💥 Safari
- mobile (iOS/iPadOS)
- mobile (Android)
- not applicable
- other (enter in the "Additional environment details" area below)
Additional environment details
Describe the bug / error
When using rating with stars and regional locale settings is a locale that has a comma separator for digits the ratings displays 0.0 and not the correct rating.
When selecting a locale with period separator the ratings displays correctly.
Steps to reproduce
1.Set site locale to a locale that use comma as digit separator
2.Add ratings with stars to a list
3.Rate one or more list items with 2 or more ratings that will result in an average rating with decimals
4.Rating average displays as 0.0
Expected behavior
Average rating displays as the correct decimal number
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.