def size_total(self): # We are working with decimal objects and rounding everything down decimal.getcontext().rounding = decimal.ROUND_DOWN return int(int(self.size) * float(self.size_coef))