So I have this code:
/* variables already initialized:
int numFlips
int numAggrFlips
double pctAggrFlips
*/
String flipsMessage = String.Format(
"Flips: {0} / Aggr: {1} ({2})",
numFlips, numAggrFlips, pctAggrFlips.ToString("0.0%")
);
For some mysterious reason, the output ends up being the following string:
(Flips: 0 / Aggr: 0 (0.0%
Any idea what would cause the parentheses to get all messed up like this?
To add to (or perhaps explain?) the strangeness: this problem DOESN'T occur on my development machine, using Windows XP. The string appears as expected. The problem does occur on our production machines (using the same code), using Windows Server 2008.