[Mono-bugs] [Bug 76204][Nor] New - String.Format doesn't work with 'x' parameter

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Sep 23 18:18:00 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 danielc at croesus.com.

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

--- shadow/76204	2005-09-23 18:18:00.000000000 -0400
+++ shadow/76204.tmp.7843	2005-09-23 18:18:00.000000000 -0400
@@ -0,0 +1,36 @@
+Bug#: 76204
+Product: Mono: Class Libraries
+Version: 1.1
+OS: Red Hat 9.0
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: CORLIB
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: danielc at croesus.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: String.Format doesn't work with 'x' parameter
+
+Description of Problem:
+The method String.Format doesn't work with the 'x' parameter.
+String.Format("{0, 4:x}", number)
+
+
+Steps to reproduce the problem:
+1. Console application
+2. System.Console.WriteLine(String.Format("{0, 4:x}", 125));
+3. 
+
+Actual Results:
+'   x'
+
+Expected Results:
+'  7d'
+
+How often does this happen? 
+Always


More information about the mono-bugs mailing list