[Mono-bugs] [Bug 59425][Nor] Changed - Decimal formatting bug in MONO Beta 3

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 15 Jun 2004 09:47:54 -0400 (EDT)


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 davidandrewtaylor@hotmail.com.

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

--- shadow/59425	2004-06-15 09:38:04.000000000 -0400
+++ shadow/59425.tmp.10228	2004-06-15 09:47:54.000000000 -0400
@@ -120,6 +120,28 @@
 then I guess that your last sample would too... until I noticed your
 original test case was using the Decimal type (not Double) ;-).
 
 Note: I fixed a lot of small issues in Decimal since beta2 (but
 probably not this one). If you are a big user of the class I would
 appreciate if you could run your code on the next beta (real soon now).
+
+------- Additional Comments From davidandrewtaylor@hotmail.com  2004-06-15 09:47 -------
+Hi Sebastien.  Ooh yes I meant Decimal not double!  I did earlier 
+today use the .96 version which is the version I assume you are 
+prepairing for Beta 3, I guessed the URL...  ;-)
+
+My actual Scenario is I am calling a web service returning an object 
+where one of the fields is a price using Decimal.  Then I am 
+displaying the result in ASP.NET app in a TextBox via a RegEx 
+validating input.  The annoyance it that when I ran my app on MONO, 
+whenever anyone edits the object, they have to add ".00" to the 
+Decimal field (irrespective of what field they wanted to edit) 
+because the RegEx validator will not let them proceed until it 
+matches the expression.
+
+I realize this is not a bug bug.....But I was hoping it would be 
+easy to fix ;-)
+
+I could easily patch my app, but I thought this made a good bug 
+report as other people will come accross the same thing.
+
+Thanks, David