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

Michael Foord fuzzyman at voidspace.org.uk
Thu Jun 4 00:17:06 CEST 2009


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




More information about the Ironpython-users mailing list