[Mono-devel-list] Re: Single and double formatter changes

Miguel de Icaza miguel at ximian.com
Wed Mar 5 15:05:37 EST 2003


Hello,

> > I've reverted the change in CVS for now, and attached the diff here so
> > you can fix it and try again.
> 
> I throw that exception because in MS.NET documentation I found this
> specification:
> 
> D or d
> Decimal
> This format is supported for integral types only. The number is
> converted to a string of decimal digits (0-9), prefixed by a minus sign
> if the number is negative. The precision specifier indicates the minimum
> number of digits desired in the resulting string. If required, the
> number is padded with zeros to its left to produce the number of digits
> given by the precision specifier.
> 
> I found it in:
> 
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconstandardnumericformatstrings.asp
> 
> What must I do at this point?
> 
> Good, now I will change that method for using General formatting in the
> "Decimal" cases. I will wait for a few days to commit the changes (Now I
> have no time to do anything).

We should try the results on .NET, and emulate that.  Sometimes the
implementation and the documentation in .NET do not match.  Lets assume
that the documentation is buggy.

Are there any other issues that we are aware of?

Miguel.



More information about the Mono-devel-list mailing list