in reply to Perl Problems with Digit Precision Changing on the Printf Statement
Include the output you're getting from the two lines so we can see the problem.printf STDOUT ("\n%${digitprecision}s\n" , $value);
I do find it a little odd, talking about "digit precision" when you're telling printf that you're printing a string.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Perl Problems with Digit Precision Changing on the Printf Statement
by EchoAngel (Pilgrim) on Jun 24, 2004 at 17:31 UTC | |
by Roy Johnson (Monsignor) on Jun 24, 2004 at 17:42 UTC | |
by EchoAngel (Pilgrim) on Jun 24, 2004 at 18:51 UTC |