title: How to round number to the closest 50 in Javascript
body: <p>I need help with the following.</p>
  
  <p>I would like to round calculated numbers this way:</p>
  
  <p>Example: 132 goes to 150, 122 goes to 100</p>
  
  <ul>
  <li>0-24,99 goes to 0</li>
  <li>25-74,99 goes to 50</li>
  <li>75-124,99 goes to 100</li>
  <li>and so on..</li>
  </ul>
  
  <p>I need to do this in JS because user will insert some values, then the number will be calculated and this number needs to bi <em>rounded</em>.</p>