[Tutor] turning a number into a formated string

Marilyn Davis marilyn at deliberate.com
Wed Dec 15 21:22:33 CET 2004


On Wed, 15 Dec 2004, Tim Peters wrote:

> ...     return ("%09.4f" % n).replace('.', '')

Totally cool.

Marilyn



More information about the Tutor mailing list