I'm trying to fix all my calculation by using Python Decimal. I'm limiting the decimal places to 3, nevertheless, I'm getting this behavior:
from decimal import *
getcontext().prec = 3
In [0]:Decimal('32.983') - Decimal('0.000')
Out[1]: Decimal('33.0')
Does anyone know how to overcome that? I would like to get:
Out[1]: Decimal('32.983')