Archived
1
0

shorten credits with K/M suffixes

This commit is contained in:
2021-08-01 15:01:33 +02:00
parent 64fe83a0db
commit 9f3632650f
6 changed files with 26 additions and 4 deletions

View File

@@ -26,7 +26,7 @@ namespace NonaBGS.BGS {
public override string ToString() {
StringBuilder builder = new StringBuilder();
builder.AppendFormat("Sold {0} CR worth of Cartographics Data", TotalSum);
builder.AppendFormat("Sold {0} worth of Cartographics Data", Credits.FormatCredits(TotalSum));
return builder.ToString();
}

View File

@@ -22,7 +22,7 @@ namespace NonaBGS.BGS {
}
public override string ToString() {
return string.Format("Sell Micro Resources: {0} CR", TotalSum);
return string.Format("Sell Micro Resources: {0}", Credits.FormatCredits(TotalSum));
}
}
}

View File

@@ -31,7 +31,7 @@ namespace NonaBGS.BGS {
public override string ToString() {
StringBuilder builder = new StringBuilder();
builder.AppendFormat("{0} Vouchers: {1} CR", TotalSum, Type);
builder.AppendFormat("{0} Vouchers: {1}", Type, Credits.FormatCredits(TotalSum));
return builder.ToString();
}