title: Weighted win percentage by number of games played
body: <p>Im looking to create a ranking system for users on a gaming site.</p>
  
  <p>The system should be based of a weighted win percentage with the weighted element being the number of games played.</p>
  
  <p>For instance:</p>
  
  <p>55 wins and 2 losses = 96% win percentage</p>
  
  <p>1 win and 0 losses = 100% win percentage</p>
  
  <p>The first record should rank higher because they have a higher number of wins.
  I'm sure the math is super simple, I just can't wrap my head around it. Can anyone help?</p>