|
Posted by Toby A Inkster on 10/13/00 12:00
lawpoop wrote:
> It does the trailing zeros correctly, but not the leading zeros. I would
> like 5.5 to become 05.50 .
Try "%05.2f", because "05.50" is five characters in length.
--
Toby A Inkster BSc (Hons) ARCS
[Geek of HTML/SQL/Perl/PHP/Python/Apache/Linux]
[OS: Linux 2.6.17.14-mm-desktop-9mdvsmp, up 17 days, 4:16.]
Gnocchi all'Amatriciana al Forno
http://tobyinkster.co.uk/blog/2008/01/15/gnocchi-allamatriciana/
Navigation:
[Reply to this message]
|