[IronPython] IronPython 2.0.1 repr of floats on non UK Windows

Dave Fugate dfugate at microsoft.com
Thu Jun 4 01:18:55 CEST 2009


Thanks for reporting this Michael.  It's a known issue (see http://ironpython.codeplex.com/WorkItem/View.aspx?WorkItemId=14022), but actually should be working under IP 2.0...

-----Original Message-----
From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Michael Foord
Sent: Wednesday, June 03, 2009 3:17 PM
To: Discussion of IronPython
Subject: [IronPython] IronPython 2.0.1 repr of floats on non UK Windows

Hello guys,

Is this a known issue?

WinXP SP3 Spanish
>>> repr(0.1)
'0,10000000000000001'

Notice the comma instead of the decimal point. This is honoring the
locale but screwing anything that tries to use the string programattically.

Michael

-- 
http://www.ironpythoninaction.com/
http://www.voidspace.org.uk/blog

_______________________________________________
Users mailing list
Users at lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com




More information about the Ironpython-users mailing list