First time here? Check out the FAQ!
answered 2011-10-10 06:53:04 +0100
See the printf-like python string formatting options here
updated 2011-10-10 07:31:36 +0100
See the printf-like python string formatting options here. As an example:
sage: "%0.2f"%pi '3.14' sage: "%e"%pi '3.141593e+00'