[Mono-bugs] [Bug 59301][Nor] New - OverflowException when parsing valid Decimal numbers

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sat, 29 May 2004 15:17:26 -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 sebastien@ximian.com.


--- shadow/59301	2004-05-29 15:17:26.000000000 -0400
+++ shadow/59301.tmp.28866	2004-05-29 15:17:26.000000000 -0400
@@ -0,0 +1,45 @@
+Bug#: 59301
+Product: Mono: Class Libraries
+Version: unspecified
+OS: All
+OS Details: 
+Status: NEW   
+Priority: Normal
+Component: CORLIB
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: sebastien@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: OverflowException when parsing valid Decimal numbers
+Description of Problem:
+Some valid decimal number cannot be parsed.
+Steps to reproduce the problem:
+Decimal.Parse ("0.523456789012345467890123456789",
+Decimal.Parse ("0.0000000000000000000000000000001",
+Decimal.Parse ("0.49214206543486529434634231456",
+Actual Results:
+System.OverflowException : Number overflow.
+Expected Results:
+No exception (numbers are valid).
+How often does this happen? 
+Additional Information:
+The bug may be in the runtime as the Decimal class is partly unmanaged.