Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I need output of:fileone 345.234 filetwo 89.7
Please advise how I can do this with below:fileone 345 filetwo 89
my $size = ((stat($file))[7]) / (1000);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Rounding numbers output
by grinder (Bishop) on Jan 22, 2003 at 14:26 UTC | |
by Anonymous Monk on Jan 22, 2003 at 15:39 UTC | |
|
Re: Rounding numbers output
by BrowserUk (Patriarch) on Jan 22, 2003 at 13:48 UTC | |
|
Re: Rounding numbers output
by Aragorn (Curate) on Jan 22, 2003 at 14:31 UTC |