[IronPython] Trouble with Single's
Kirk Olynyk
kirko at microsoft.com
Sun May 15 18:27:31 CEST 2005
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20050515/ed45aa7d/attachment.html>
More information about the Ironpython-users
mailing list