in reply to Re: Perl Problems with Digit Precision Changing on the Printf Statement
in thread Perl Problems with Digit Precision Changing on the Printf Statement
I want the this printf statement to print exactly as it ismy $value = "0.03443762"; $digitprecision = 20; printf STDOUT ("\n%20s\n", $newvalue);
so how do i program this using $digitprecision = 20; I need to control the number of spacing using a variableoutput 0.03443762
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Perl Problems with Digit Precision Changing on the Printf Statement
by Roy Johnson (Monsignor) on Jun 24, 2004 at 17:42 UTC | |
by EchoAngel (Pilgrim) on Jun 24, 2004 at 18:51 UTC |