[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:

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

My output is showing as this:

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 *