the decimal result keeps trailing zeroautomatically inferring four place significance from multiplicands with two place significance decimal reproduces mathematics as done by hand and avoids issues that can arise when binary floating point cannot exactly represent decimal quantities exact representation enables the decimal class to perform modulo calculations and equality tests that are unsuitable for binary floating pointdecimal(' 'decimal( 'decimal(' ' sum([decimal(' ')]* =decimal(' 'true sum([ ]* = false the decimal module provides arithmetic with as much precision as neededgetcontext(prec decimal( decimal( decimal(' ' decimal floating point arithmetic