in reply to use of print f and sprint f
perldoc -f sprintf
You need a format string to format your values. You can try something like this:
printf "$l, $j, %.3f, %.3f, %.3f, %.3f\n", $Hx, $Hy, $Hxy, $mutual;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: use of print f and sprint f
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 | |
by ikegami (Patriarch) on Nov 10, 2004 at 17:04 UTC |