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;
In reply to Re: use of print f and sprint f
by busunsl
in thread use of print f and sprint f
by replicant4
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |