修正钱书比小数位数

This commit is contained in:
zhbaor 2023-08-14 13:20:58 +08:00
parent 7aff131be6
commit 6311b892af

View file

@ -161,7 +161,7 @@ class RIICReportAnalysis:
output += f"调平总和:{total_by_order:.0f}\n\n" output += f"调平总和:{total_by_order:.0f}\n\n"
if power_plants == 3: if power_plants == 3:
if exp_avg != 0: if exp_avg != 0:
output += f"钱书比例:{lmb_avg / exp_avg:.0f}" output += f"钱书比例:{lmb_avg / exp_avg:.2f}"
else: else:
output += f"钱书比例:正无穷" output += f"钱书比例:正无穷"
else: else: