[IronPython] Trouble with Single's
Martin Maly
martmaly at exchange.microsoft.com
Sun May 15 18:25:42 CEST 2005
Yes, there is plan to fix this. In some cases the Single type already works, but there are places where the support is still missing.
Martin
________________________________________
From: users-ironpython.com-bounces at lists.ironpython.com [mailto:users-ironpython.com-bounces at lists.ironpython.com] On Behalf Of Kirk Olynyk
Sent: Sunday, May 15, 2005 9:28 AM
To: users-ironpython.com at lists.ironpython.com
Subject: [IronPython] Trouble with Single's
It seems that IronPython is comfortable with double data types but not single's. To get around this I am forced to to a Convert.ToDouble(singleThingy) every time that I find one. Is there a plan to fix this?
import sys
sys.LoadAssemblyByName("System")
sys.LoadAssemblyByName("System.Drawing")
from System import *
from System.Drawing import *
pointF = PointF(1,1) # so far so good
X = pointF.X + 1 # boom
More information about the Ironpython-users
mailing list