title: One to five star rating where 1 star = 0%
body: <p>Silly question, but I need a simple way of computing a score where:</p>
  
  <pre><code>1 star = 0%
  2 star = 25%
  3 star = 50%
  4 star = 75%
  5 star = 100%
  </code></pre>
  
  <p>The tricky part comes for me when I have an average score which then becomes a float like 1.2 or 2.3, etc... Preferably in Ruby, but basic math formula will do!</p>
  
  <p>Thanks!</p>