Zac has asked for the wisdom of the Perl Monks concerning the following question:
to print floats with fixed decimal places normaly printf is used
eg:
printf("%.3f %.3f %.3f\n",$a,$b,$c);is there a faster way to get the same result ??
Have fun
Zac
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: fastes way to print floats with fixed decimal places
by Somni (Friar) on Jul 07, 2011 at 19:01 UTC | |
by Zac (Initiate) on Jul 07, 2011 at 21:28 UTC | |
|
Re: fastes way to print floats with fixed decimal places
by blue_cowdawg (Monsignor) on Jul 07, 2011 at 18:06 UTC | |
by Zac (Initiate) on Jul 07, 2011 at 21:07 UTC | |
|
Re: fastes way to print floats with fixed decimal places
by Anonymous Monk on Jul 07, 2011 at 18:44 UTC |