in reply to Re^2: Perl Problems with Digit Precision Changing on the Printf Statement
in thread Perl Problems with Digit Precision Changing on the Printf Statement
# You did this, and it works: printf STDOUT ("\n%" . $digitprecision . "s\n", $newvalue); # I suggested this, and it works, too: printf STDOUT ("\n%${digitprecision}s\n", $newvalue);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Perl Problems with Digit Precision Changing on the Printf Statement
by EchoAngel (Pilgrim) on Jun 24, 2004 at 18:51 UTC |