[Mono-bugs] [Bug 29733][Wis] New - Number formatting does not support templates.

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
31 Aug 2002 01:23:37 -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 miguel@ximian.com.

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

--- shadow/29733	Fri Aug 30 21:23:37 2002
+++ shadow/29733.tmp.25326	Fri Aug 30 21:23:37 2002
@@ -0,0 +1,41 @@
+Bug#: 29733
+Product: Mono/Runtime
+Version: unspecified
+OS: other
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: misc
+AssignedTo: gonzalo@ximian.com                            
+ReportedBy: miguel@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Number formatting does not support templates.
+
+The following format:
+
+   (###)-###-#### 
+
+Applied to this number:
+
+   1234567890
+
+Should render:
+
+   (123)-456-7890
+
+Currently it renders:
+1234567890
+
+using System;
+
+class X {
+	static void Main ()
+	{
+		Console.WriteLine ("{0:(###)###-####}", 1234567890.0);
+	}
+}