title: Python Round 3 decimals places with Decimal() and perform a rounding twice or more
body: <p>I need to round my input twice when they have 3 decimal places and to do that, I round the input twice as follow:</p>
  
  <pre><code>3.445 -&gt; 3.45 -&gt; 3.5
  </code></pre>
  
  <p>Is there a better way to achieve this or my code below is fine?</p>
  
  <pre><code>number = 3.445
  print Decimal(number).quantize(Decimal("0.001"),                          
          decimal.ROUND_HALF_UP).quantize(Decimal("0.01"),
              decimal.ROUND_HALF_UP).quantize(Decimal("0.1"),
                  decimal.ROUND_HALF_UP)
  </code></pre>