diff --git a/web/calculators/__init__.py b/web/calculators/__init__.py index 40cd36c..d1cf4b1 100644 --- a/web/calculators/__init__.py +++ b/web/calculators/__init__.py @@ -201,7 +201,7 @@ class Calculator: if sum(prices) == 0: return 0 result = sum(prices) / sum([self.weight_ftb, self.weight_ss, self.weight_fhb, self.weight_network, self.weight_survey]) - result = round(result, round_dit) + result = self.round_method(result, self.round_bit) return result def _get_recommend_price(self, round_by=10):