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

Just like you did, or like I responded:
# 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);

We're not really tightening our belts, it just feels that way because we're getting fatter.
  • Comment on Re^3: Perl Problems with Digit Precision Changing on the Printf Statement
  • Download Code

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
    thanks!!!!!!!