mirror of
https://github.com/ysoftdevs/Theatrical-Players-Refactoring-Kata.git
synced 2026-04-23 09:18:57 +02:00
upgrade to net6, update dependencies, conventions
This commit is contained in:
@@ -41,11 +41,11 @@ namespace TheatricalPlayersRefactoringKata
|
||||
if ("comedy" == play.Type) volumeCredits += (int)Math.Floor((decimal)perf.Audience / 5);
|
||||
|
||||
// print line for this order
|
||||
result += String.Format(cultureInfo, " {0}: {1:C} ({2} seats)\n", play.Name, Convert.ToDecimal(thisAmount / 100), perf.Audience);
|
||||
result += string.Format(cultureInfo, " {0}: {1:C} ({2} seats)\n", play.Name, Convert.ToDecimal(thisAmount / 100), perf.Audience);
|
||||
totalAmount += thisAmount;
|
||||
}
|
||||
result += String.Format(cultureInfo, "Amount owed is {0:C}\n", Convert.ToDecimal(totalAmount / 100));
|
||||
result += String.Format("You earned {0} credits\n", volumeCredits);
|
||||
result += string.Format(cultureInfo, "Amount owed is {0:C}\n", Convert.ToDecimal(totalAmount / 100));
|
||||
result += string.Format("You earned {0} credits\n", volumeCredits);
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user