On Fri, 12 Oct 2001, Chuck wrote:

> It is now printing the number as a negative:
> print "<PRE>\n";
> printf "%15d bytes free in $phost:/var/tmp<BR>\n", $freespace;
>
> Result:
>      -999948288 bytes free in smh4:/var/tmp

Your integer is too big to be handled as an integer. :-) Use %15.f for
your format, that should correctly print the integer value without
following zeroes.  Or use the BitInt module.

-- Brett
                                          http://www.chapelperilous.net/
------------------------------------------------------------------------
Facts, apart from their relationships, are like labels on empty bottles.
                -- Sven Italla


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to