美化计量单位显示

This commit is contained in:
zhbaor 2023-09-03 08:27:07 +08:00
parent d60bef4ecb
commit 013946b298

View file

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