title: How do I round to 2 decimal places?
body: <p>I have a number with a comma, for example: <code>254,5</code>. I need the <code>0</code> behind the <code>,5</code> so it stands like <code>254,50</code> instead..</p>
  
  <p>I'm using this to get the number:</p>
  
  <pre><code>Math.floor(iAlt / 50) * 50;
  </code></pre>
  
  <p>How can i get the <code>0</code> behind the <code>,5</code>?</p>