replicant4 has asked for the wisdom of the Perl Monks concerning the following question:
mighty perl monks.
I have the following print line.
How can I use printf or sprintf in order to get only 3 decimal places for each of my $Hx, $Hy, $Hxy and $mutual values? Thanks in advance for your helpprintf "$l,$j,$Hx,$Hy,$Hxy,$mutual\n";
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: use of print f and sprint f
by busunsl (Vicar) on Nov 10, 2004 at 12:16 UTC | |
by gellyfish (Monsignor) on Nov 10, 2004 at 13:32 UTC | |
by chb (Deacon) on Nov 10, 2004 at 14:06 UTC | |
by ikegami (Patriarch) on Nov 10, 2004 at 14:41 UTC | |
by blokhead (Monsignor) on Nov 10, 2004 at 16:50 UTC | |
by !1 (Hermit) on Nov 10, 2004 at 16:44 UTC | |
| |
Re: use of print f and sprint f
by Happy-the-monk (Canon) on Nov 10, 2004 at 12:21 UTC |
Back to
Seekers of Perl Wisdom