[Mono-bugs] [Bug 75100][Maj] Changed - Custom data formatting
expressions don't appear to work in DataGrids
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Fri Jun 3 01:09:50 EDT 2005
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 camelweb at bigpond.com.
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: gonzalo at ximian.com
ReportedBy: camelweb at bigpond.com
QAContact: mono-bugs at ximian.com
TargetMilestone: ---
URL:
Cc:
@@ -87,6 +87,36 @@
Additional Information:
Doesn't happen for an Integer based number
------- Additional Comments From gonzalo at ximian.com 2005-05-31 16:18 -------
Can you please attach a small test case that allows me to reproduce
the bug? Thanks.
+
+------- Additional Comments From camelweb at bigpond.com 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.
More information about the mono-bugs
mailing list