Mobile app version of vmapp.org
Login or Join
Odierno851

: What character must be used as decimal seperator for the ratingValue property? I'm using Schema.org markup in my website and want to add AggregateRating to the posts, but in ratingValue property

@Odierno851

Posted in: #SchemaOrg

I'm using Schema.org markup in my website and want to add AggregateRating to the posts, but in ratingValue property which character should I use to separate in decimal numbers?

For example rating system is 5-scale (worstRating = 1 and bestRating = 5) and ratingValue is 5٫00 or 5٫26.

Is using the character ٫ OK? ٫ or , or .? The plugin I use inserts ٫ itself.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Odierno851

1 Comments

Sorted by latest first Latest Oldest Best

 

@Ann8826881

I went to schema.org/AggregateRating and can easily see the confusion. The ratingValue says text whereas bestRating and worstRating says number or text. If you click the links for text or number, the information provided does not help clarify your question.

Yikes!!

I did look at the second Microdata example for AggregateRating where the value for ratingValue is 3.5 and it does use a . (period). I realize that for some locales, it is perfectly acceptable to use a , (comma), however, I would recommend a . (period) just to be sure.

You can certainly try both, one at a time, and check it using developers.google.com/structured-data/testing-tool/ to validate the code via Google.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme