[Mono-bugs] [Bug 77667][Nor] New - roundtrip formatting for double
i.e. Double.ToString ("R") returns incorrect result
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Tue Feb 28 13:09:19 EST 2006
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 atsushi at ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=77667
--- shadow/77667 2006-02-28 13:09:19.000000000 -0500
+++ shadow/77667.tmp.10079 2006-02-28 13:09:19.000000000 -0500
@@ -0,0 +1,43 @@
+Bug#: 77667
+Product: Mono: Class Libraries
+Version: 1.1
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: CORLIB
+AssignedTo: mono-bugs at ximian.com
+ReportedBy: atsushi at ximian.com
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: roundtrip formatting for double i.e. Double.ToString ("R") returns incorrect result
+
+The following code results in an unexpected result:
+
+using System;
+
+class Test
+{
+ public static void Main ()
+ {
+ Console.WriteLine (10.78.ToString ("R",
+ System.Globalization.NumberFormatInfo.InvariantInfo));
+ }
+}
+
+
+Actual Results:
+
+10.779999999999999
+
+Expected Results:
+
+10.78
+
+How often does this happen?
+
+consistently.
More information about the mono-bugs
mailing list