title: How to round Decimal number without using the global context?
body: <p>Using python 3.6
  <a href="https://docs.python.org/3.6/library/decimal.html" rel="nofollow noreferrer">https://docs.python.org/3.6/library/decimal.html</a></p>
  
  <p>I can see we can specify the rounding and precision but it's only globally by setting the context.</p>
  
  <p>How can I do this for a specific Decimal instance? </p>
  
  <p>Something like this pseudo code:</p>
  
  <pre><code>myNumber = Decimal(1.101901)
  roundedNumber = myNumber.toFixed(2, ROUND_DOWN)
  # expected result ==&gt; 1.10
  roundedNumber = myNumber.toFixed(2, ROUND_UP)
  # expected result ==&gt; 1.11
  </code></pre>
  
  <p>So I can parse each number with the rounding and precision I want.</p>