I see strange results when running string.Format ("C");
eg.
double val = 123456.78;
Console.WriteLine( val.ToString( "C" ) );
This prints the thousands separator as 0xa0, not a comma (0x2c).
I get the same result if I use string.Format( "{0:0,0.00}", 1234567.12D );
Here is the complete conclusion
R 123ΓΏ456.78
52333A333233
201230456C78
My regional settings are English (South African), and I get the same result on multiple machines.
Any ideas?
Thank.
Andre source
share