cs11dotnet7/docs/errata/improvements.md
2022-11-09 14:41:43 +00:00

913 B

Improvements (1 item)

If you have suggestions for improvements, then please raise an issue in this repository or email me at markjprice (at) gmail.com.

Print Book

Page 153 - Writing a function that returns a value

At the end of this section there is a note box that explains that we could use the C format code to format the output as currency. If you are running on a computer in a culture that uses Euros then to show the Euro currency symbol you must enable UTF-8 encoding.

Add the following statement near the top of the code file before doing any writing to the console:

Console.OutputEncoding = System.Text.Encoding.UTF8;

Bonus Content

None so far.