Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there.
Changed by [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=75100 --- shadow/75100 2005-05-31 16:18:27.000000000 -0400 +++ shadow/75100.tmp.19304 2005-06-03 01:09:50.000000000 -0400 @@ -1,16 +1,16 @@ Bug#: 75100 Product: Mono: Class Libraries Version: 1.1 OS: other OS Details: Fedora Core 3 -Status: NEEDINFO +Status: REOPENED Resolution: Severity: Unknown Priority: Major -Component: Sys.Web +Component: System AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] QAContact: [EMAIL PROTECTED] TargetMilestone: --- URL: Cc: @@ -87,6 +87,36 @@ Additional Information: Doesn't happen for an Integer based number ------- Additional Comments From [EMAIL PROTECTED] 2005-05-31 16:18 ------- Can you please attach a small test case that allows me to reproduce the bug? Thanks. + +------- Additional Comments From [EMAIL PROTECTED] 2005-06-03 01:09 ------- +Actually, creating the test case I've refined the problem further, in +the following sample code : + +using System; + +namespace Bob + { + public class Test + { + public static void Main( string[] args ) + { + double DoubleNumber = 1.1; + Console.WriteLine( +DoubleNumber.ToString("#.##") ); + + System.Decimal DecimalNumber = new +System.Decimal( 1.1 + Console.WriteLine( +DecimalNumber.ToString("#.##") ); + } + } + } + +The code will crash with a FormatException on the Decimal.ToString() +call. This does not happen in Microsofts implementation. + +I've opened this under System instead - since this is no longer a +System.Web issue. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
