title: Maths Range To Percentage
body: <p>i need a bit of help with some maths.</p>
  
  <p>I have a range 0 - 127 and i want to convert it into percentage.</p>
  
  <p>So 0% = 0 and 100% = 127 and every number inbetween.</p>
  
  <p>How would i do this?</p>
  
  <p>Edit:</p>
  
  <p>Thanks to what jon posted, i came up with:</p>
  
  <p>$percent * 127 / 100</p>