Hi,<br><br>I seem to have problem with floating point printing with the latest numpy, python 2.5.2, gcc 4.1.4, and 64-bit linux:<br><br>In [24]: print str(0.0012)<br>0.0012<br><br>In [25]: a = numpy.array([0.0012])<br><br>

In [26]: print str(a[0])<br>0.0011999999999999999<br><br>In [27]: print numpy.__version__<br>1.0.5.dev4950<br><br>It seems like the str() behavior for float64 in the latest numpy's behavior is different than Python's default behavior (and previous numpy's behavior).  <br>
<br>As I have numerous doc tests, this seems to make many of them failed.  Should the float64's str() behavior be consistent with what's described in <a href="http://docs.python.org/tut/node16.html">http://docs.python.org/tut/node16.html</a>?  Is there any way to get around it so I can get to the default Python behavior?<br>

<br>Thanks!<br><br>Will <br>