[Mono-bugs] [Bug 29733][Wis] Changed - Number formatting does not support templates.
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
31 Aug 2002 09:21:25 -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 gonzalo@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=29733
--- shadow/29733 Fri Aug 30 21:23:37 2002
+++ shadow/29733.tmp.30233 Sat Aug 31 05:21:25 2002
@@ -1,14 +1,14 @@
Bug#: 29733
Product: Mono/Runtime
Version: unspecified
OS: other
OS Details:
-Status: NEW
+Status: NEEDINFO
Resolution:
-Severity:
+Severity: Unknown
Priority: Wishlist
Component: misc
AssignedTo: gonzalo@ximian.com
ReportedBy: miguel@ximian.com
QAContact: mono-bugs@ximian.com
TargetMilestone: ---
@@ -36,6 +36,20 @@
class X {
static void Main ()
{
Console.WriteLine ("{0:(###)###-####}", 1234567890.0);
}
}
+
+------- Additional Comments From gonzalo@ximian.com 2002-08-31 05:21 -------
+Well, the number you put is a floating point number and support for
+formatting them is not in place.
+
+If you do:
+
+Console.WriteLine ("{0:(###)###-####}", 1234567890);
+
+it will work because it uses IntegerFormatter (the other one is done
+in an internal call that just do a g_strdup_printf or the like).
+
+So... Do you want me work on adding support for formatting floating
+point numbers custom formatting?