How do you get a decimal in python?
<p>In a truly surreal experience, I have spent 20 minutes on a task I thought would take 20 seconds.</p>

<p>I want to use decimals with 3 or more places. I cannot get anything over 1 place, and even in that case it's nonsense.</p>

<p>For example, I am unable to get <code>1/3</code> to show as anything other than <code>0</code> or <code>0.0</code>.</p>

<p>Googling led me to Decimal, but Decimal <em>also</em> failed to help.</p>

<p>Please end this torture and tell me what I have to do to get <code>1/3</code> to show up as <code>.333</code>! </p>

<p><strong>Edit</strong> Thank you all for clearing that up! Apparently computer scientists have invented something called integer division to confuse and irritate mathematicians. Thank you for being kind enough to dissipate my confusion.</p>
