title: How to limit a decimal number?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/697977/how-to-format-a-decimal">How to format a decimal</a>  </p>
  </blockquote>
  
  
  
  <p>How can I limit my decimal number so I'll get only 3 digits after the point? </p>
  
  <pre><code>e.g  2.774
  </code></pre>