>>> 0.15 * 3 0.44999999999999996 >>> from decimal import Decimal >>> Decimal('0.15') * 3 Decimal('0.45')