title: Rounding Problem with Python
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/5997027/python-rounding-error-with-float-numbers">Python rounding error with float numbers</a>  </p>
  </blockquote>
  
  
  
  <p>I have a rounding Problem in Python. If i calculate </p>
  
  <p>32.50 * 0.19 = 6.1749999999999998</p>
  
  <p>But this should be 6.175. If i round 6.1749999999999998 with 2 decimal places it correctly shows 6.18. So i can live with that.</p>
  
  <p>But if i calculate this:</p>
  
  <p>32.50 * 0.19 * 3 = 18.524999999999999</p>
  
  <p>This should be 18.525. If i round the value 18.524999999999999 with two decimal places it shows 18.52.</p>
  
  <p>It should show me 18.53. What am i doing wrong and how can i fix it ?</p>