How would that be diff from $mins  = sprintf("%02d",$QCTAvgSecs/60);

or would it?

At 01:46 PM 7/9/2001, darren chamberlain wrote:
>Thomas Jakub <[EMAIL PROTECTED]> said something to this effect on 07/09/2001:
>> in c++ you can floor a variable to drop the decimal
>> points.  How can you do this with perl?
>
>Use the int function (perldoc -f int).
>
>my $pi = 3.1415927;
>
>print int $pi;
>
># prints 3
>
>(darren)
>
>-- 
>Westheimer's Discovery: A couple of months in the laboratory can
>save a couple of hours in the library.
>    -- Frank H. Westheimer

Reply via email to