[C#] Displaying Currency

Hello BHW,

I'm trying to resolve a minor issue in which the USD sign ($) is failing to display, when using the following code:

Code:
string test = String.Format("{0:C}", 123.21);
Console.WriteLine(test);

My output is showing as this:
[​IMG]

Anyone know why I'm getting this small, rectangle-encased question-mark? Shouldn't it display a dollar sign, instead?

Leave a Reply

Your email address will not be published. Required fields are marked *