Hello Cleiton,

At 01:32 PM 10/25/2002 -0700, Cleiton L. Siqueira wrote:
>I've tried to add two variables, but the result isn't right.
>Because when Perl add the both it removes the decimal numbers from the
each variable.
>How can I add these variables in perl?

Does this one-liner work on your system:
  perl -e '$a=1; $b=2.2; print $a+$b, "\n" ; '

Can you send a sample of the script you are trying to run?

Regards,
- Robert


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

Reply via email to