2005-01-08 Miguel de Icaza <miguel@ximian.com>
* Int32Test.cs: Add a couple of new formatting tests.
2005-01-08 Miguel de Icaza <miguel@ximian.com>
* IntegerFormatter.cs: The - sign inside the "negative" section in
a multi-format string means `show the sign' only if it is the
first token, not `copy verbatim'. In the other sections it means
`copy-verbatim'.
This makes things like: (-34).ToString ("#;-#") show up as "-34"
instead of "--34".
The bad news is that this code needs to be rewritten to handle all
the formatting cases, see bug #71112 for details.
svn path=/trunk/mcs/; revision=38559