美化计量单位显示

This commit is contained in:
zhbaor 2023-09-03 08:32:45 +08:00
parent f6a909e3cb
commit 3295ef45b4

View file

@ -194,10 +194,10 @@ class RIICReportAnalysis:
output += f"钱书比例:{lmb_exp_ratio:.2f}\n\n" output += f"钱书比例:{lmb_exp_ratio:.2f}\n\n"
output += "======产能======\n" output += "======产能======\n"
output += f"{total:.2f}E\n0.2订单+0.8赤金+经验+4000\n" output += f"{total:.2f}E =\n0.2订单+0.8赤金+经验+4000\n"
output += f"{gongsun:.2f}\n0.8订单+0.8赤金+经验+4000\n" output += f"{gongsun:.2f} =\n0.8订单+0.8赤金+经验+4000\n"
output += f"{kaltsit:.0f}\n订单+赤金+经验向上取整到万\n" output += f"{kaltsit:.0f} =\n订单+赤金+经验向上取整到万\n"
output += f"{stupid:.1f}\n订单+经验" output += f"{stupid:.1f} =\n订单+经验"
await chain.onebot_reply(Text(output.strip())) await chain.onebot_reply(Text(output.strip()))
except Exception as e: except Exception as e: