I have a 5 star rating system that outputs a recommendation.
A user inputs a rating based on a Like or Dislike.
What I would like to know is how to convert the number of likes and dislikes into a number which can be put into a 5 star rating system?
An Example:
Say if I have:
172 Likes
101 Dislikes
How would I then get then get the average of these likes and dislikes, to put into a 5 star system which resembles the number of likes compared to dislikes?