feat: 更新计算价格与位数同步
This commit is contained in:
@@ -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):
|
||||
|
Reference in New Issue
Block a user