in reply to Can I pad a number with leading spaces rather than leading 0's
Then you would want to$ 123.00 $ 12.00 $ 1.00
printf("\$%7.2f\n", $output);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Can I pad a number with leading spaces rather than leading 0's
by greywolf (Priest) on Aug 21, 2001 at 00:16 UTC | |
by chipmunk (Parson) on Aug 21, 2001 at 00:23 UTC | |
by HyperZonk (Friar) on Aug 21, 2001 at 02:07 UTC | |
by greywolf (Priest) on Aug 21, 2001 at 19:47 UTC |