Skip to content

Commit

Permalink
PR Feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
BenjaminMichaelis committed Sep 12, 2024
1 parent 7110fa7 commit 54cacf1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Chapter02/Listing02.09.UsingStringFormat.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ public static void Main()
string toStringCurrencyText = number.ToString("C");
Console.WriteLine($"{currencyText == toStringCurrencyText}: {currencyText} == {toStringCurrencyText}");

// el-GR represents the Greek locale code
toStringCurrencyText = number.ToString("C", CultureInfo.GetCultureInfo("el-GR"));
Console.WriteLine(toStringCurrencyText);

Expand Down

0 comments on commit 54cacf1

Please sign in to comment.