From e9b4a4665377a7a9c5780adabcf8696502daeaa0 Mon Sep 17 00:00:00 2001 From: Piotr Czajkowski Date: Sun, 2 Jan 2022 14:22:37 +0100 Subject: [PATCH] Format --- 22_Change/csharp/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/22_Change/csharp/Program.cs b/22_Change/csharp/Program.cs index b45e5114..3b609d9d 100644 --- a/22_Change/csharp/Program.cs +++ b/22_Change/csharp/Program.cs @@ -100,7 +100,7 @@ namespace Change if (change < 0) { - Console.WriteLine($"Sorry, you have short-changed me ${price - payment}!"); + Console.WriteLine($"Sorry, you have short-changed me ${price - payment:N2}!"); continue; }