# Restricting maximum rating value

**URL:** https://community.mp3tag.de/t/restricting-maximum-rating-value/50764
**Category:** Support
**Created:** [November 12, 2020, 9:57am UTC](https://community.mp3tag.de/t/restricting-maximum-rating-value/50764 "2020-11-12T09:57:26Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [November 12, 2020, 10:39am UTC](https://community.mp3tag.de/t/restricting-maximum-rating-value/50764/2 "2020-11-12T10:39:48Z")

</div>

Maybe @Doug_Mackie (the [original autor of this code](https://community.mp3tag.de/t/column-script-to-show-popm-ratings-as-stars/11806/8)) can explain how you could achieve your alternate message.

At least for values in `%popularimeter%` every number greater then 196 will result in 5 stars. I don't see how you can get anything bigger then 5 stars with the above code.

Maybe the code has to be limited to 255 as max value with something like in this example:

> [@POPULARIMETER](https://community.mp3tag.de/t/popularimeter/17451/14):
>
> Nun funktioniert es! Die Lösung war das unten angehängte $replace von @DetlevD zu benutzen: Allerbesten Dank! [image]

---

_[View the full topic](https://community.mp3tag.de/t/restricting-maximum-rating-value/50764)._
