Why is decimal.Decimal returning scientific notation for a simple calculation?
<p>I'm having a weird issue on one of my machines:</p>

<pre><code>Tibuchina ~$ python
Python 2.6.7 (r267:88850, May 14 2012, 20:36:34) 
[GCC 4.2.1 Compatible Apple Clang 3.1 (tags/Apple/clang-318.0.58)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
&gt;&gt;&gt; from decimal import Decimal
&gt;&gt;&gt; Decimal('99') / 2
Decimal('2.21660407009470578688E-8')
&gt;&gt;&gt; 
</code></pre>

<p>I'm not sure where to look for a solution, and I haven't had any success searching for an answer - mostly because I'm not sure how to articulate the question.  Hoping someone has seen something similar and can suggest a solution.  Thanks!</p>

<p>-<em>edit</em></p>

<p>Hmm, not exactly a dupe, but close; actually the answer with the Mintyfresh link (CppLearner) was most helpful as it pointed me in the right direction.  My python is brew installed, not mac ports, but ultimately the steps to fixing it were simply:</p>

<ul>
<li>Install Xcode command-line utils</li>
<li>uninstall and reinstall python 2.6.7</li>
</ul>

<p>Thanks for the help!</p>
