[SciPy-user] Print number of significant digits ?

Stef Mientki S.Mientki@ru...
Fri Jun 15 04:44:19 CDT 2007


is there a simple way (some flag or something like that),
in which you can limit the number of significant digits,
when using the plain print statement ?

so that you get an output like this:

 >>> print pi

Stef Mientki

Kamer van Koophandel - handelsregister 41055629  / Netherlands Chamber of Commerce - trade register 41055629

More information about the SciPy-user mailing list