numeric-format

Why does the Standard Numeric Format for percentages include a space?

The Back Story I have some decimal values which I am displaying as strings on a web page as part of a larger string. I started off using a http://msdn.microsoft.com/en-us/library/dwhawy9k.aspx]">Standard Numeric Format String to output this. E.g. myDecimal.ToString("P0") The 0 after the P tells it I want no decimal places. This works...

Is there a Numeric Format String for the following?

Hi, I'm using C# and I have many integers. I was wondering if there was a numeric format string that would display the following: 12 as +12 This is needed as the application I'm working with is mathematical, and when attempting to display something like x + y when x = 2 and y can be either -2 or say for instance 3. I don't want to...