On 15 Mar 2007 at 8:05, Tom Phoenix wrote:
> On 3/15/07, Beginner <[EMAIL PROTECTED]> wrote:
>
> > For some reason my sprintf usage is not returning the numbers I had
> > expected and appears to be rounding down. Is there something wrong
> > with my formatting below.
>
> > my $ks
On 3/15/07, Beginner <[EMAIL PROTECTED]> wrote:
For some reason my sprintf usage is not returning the numbers I had
expected and appears to be rounding down. Is there something wrong
with my formatting below.
my $ksize = sprintf("%.2f",$size/1024);
my $mbsize =
Hi,
For some reason my sprintf usage is not returning the numbers I had
expected and appears to be rounding down. Is there something wrong
with my formatting below.
=== code snip ==
my ($x,$y) = imgsize($fqn);
my $size = $x*$y*3;
my $ksiz