perf: WpfGui关卡掉落输出增加千分位分隔符 (#6793)

This commit is contained in:
MistEO
2023-10-09 08:55:23 +08:00
committed by GitHub

View File

@@ -962,10 +962,10 @@ namespace MaaWpfGui.Main
string itemName = item["itemName"]?.ToString();
int totalQuantity = (int)item["quantity"];
int addQuantity = (int)item["addQuantity"];
allDrops += $"{itemName} : {totalQuantity}";
allDrops += $"{itemName} : {totalQuantity:#,#}";
if (addQuantity > 0)
{
allDrops += $" (+{addQuantity})";
allDrops += $" (+{addQuantity:#,#})";
}
allDrops += "\n";