[Mono-list] IntegerFormatter

Nick Drochak ndrochak@gol.com
Tue, 27 Nov 2001 21:20:06 +0900


Derek,

The Nunit test for Sbyte is failing, but the problem seems to be in
IntegerFormatter.cs.  When the test does ToString("n",
NumberFormatInfo.InvariantInfo) on an Sbyte with value -128, it should
produce "(128.00)".  However, instead we get "-128.00".  

In fact, from the code it looks like all the integral types never get
formatted with the parentheses.  Can you have a look at this?  Sorry I
don't have a patch for you myself :)

Regards,
Nick