Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I have an array with elements having decimal points say for instance .0069874 , .0012365 , .98752115 ,.0002332.
and I wish to print data only to 4 decimal places
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: limiting decimal points
by Loops (Curate) on Jul 17, 2013 at 04:59 UTC | |
|
Re: limiting decimal points
by kcott (Archbishop) on Jul 17, 2013 at 04:58 UTC |