Hi ironpython,

Here's your Daily Digest of new issues for project "IronPython".

In today's digest:ISSUES

1. [New comment] Conversion from Ironpython's Decimal to System.Decimal loses 
precision.

----------------------------------------------

ISSUES

1. [New comment] Conversion from Ironpython's Decimal to System.Decimal loses 
precision.
http://ironpython.codeplex.com/workitem/33830
User vernondcole has commented on the issue:

"This sounds a lot like issue 18220 -- proposed by me 2008-08-20 and marked as 
fixed by jdhardy 2012-03-10 for release 2.7.2.1. -- except that this is going 
in the other direction.
Jeff fixed:
d = System.Decimal(12345.67891)
dd = decimal.Decimal(d)
TypeError: Cannot convert <decimal object at 0x000000000000002D> to Decimal

The workaround for that was:
dd=decimal.Decimal(str(d))

A similar workaround should work here.

Hopefully, the fix can be done in less than five years, this time.  :-)
"
----------------------------------------------



----------------------------------------------
You are receiving this email because you subscribed to notifications on 
CodePlex.

To report a bug, request a feature, or add a comment, visit IronPython Issue 
Tracker. You can unsubscribe or change your issue notification settings on 
CodePlex.com.
_______________________________________________
Ironpython-users mailing list
[email protected]
http://mail.python.org/mailman/listinfo/ironpython-users

Reply via email to