[Numpy-discussion] Number of digits

Nils Wagner nwagner at iam.uni-stuttgart.de
Mon Jul 10 07:33:52 CDT 2006


Hi all,

how can I increase the number of digits in the output of str(.) ?

>>> lam**2
493.48022005446808
>>> str(lam**2)
'493.480220054'

'493.4802200544680' would be fine.

Nils






More information about the Numpy-discussion mailing list