[Mono-bugs] [Bug 23481] New - decimal2string returns a "strange" string

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
16 Apr 2002 12:23:26 -0000


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 ndrochak@gol.com.

http://bugzilla.ximian.com/show_bug.cgi?id=23481

--- shadow/23481	Tue Apr 16 08:23:26 2002
+++ shadow/23481.tmp.6836	Tue Apr 16 08:23:26 2002
@@ -0,0 +1,37 @@
+Bug#: 23481
+Product: Mono/Runtime
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: ndrochak@gol.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: decimal2string returns a "strange" string
+
+This test fails on mono & mint(i.e. it return 1):
+
+this test fails on mono and mint (compile with csc):
+
+namespace NS {
+	class C {
+		public static int Main() {
+			decimal d = 12.55m;
+			string str = d.ToString("F");
+			bool b = (str == "12.55");
+			if (b)
+				return 0;
+			else
+				return 1;
+		}
+	
+	}
+
+}