format credits with millions
This commit is contained in:
parent
4cd0c02c67
commit
15fda7692e
@ -19,8 +19,8 @@ public class VoucherFormat : LogFormatter {
|
|||||||
}
|
}
|
||||||
|
|
||||||
foreach (var m in missions) {
|
foreach (var m in missions) {
|
||||||
ulong total = (ulong)m.Value.Sum(x => (decimal)x.TotalSum);
|
long total = (long)m.Value.Sum(x => (decimal)x.TotalSum);
|
||||||
builder.AppendFormat("Handed in {0} vouchers: {1}\n", m.Key, Credits.FormatCredits(total));
|
builder.AppendFormat("Handed in {0} vouchers: {1}\n", m.Key, Credits.FormatMillions(total));
|
||||||
}
|
}
|
||||||
|
|
||||||
return builder.ToString().Trim();
|
return builder.ToString().Trim();
|
||||||
|
Loading…
Reference in New Issue
Block a user