Dear,

Thanks for your help!!!
I was making a mistake with my source file. My file has numbers like this 2,25. Perl 
uses "." and not "," to decimal numbers.
I changed the "." to "," in the file and now it's working well.
Sorry, for my stupid question!!!
And Thanks for your attention and answers.

Regards,


Na Thursday, 24 de October de 2002 ŕs 10:53:37 PM, Robert Citek escreveu:

> 
> 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
> 
> 
> 



Cleiton L. Siqueira
Colégio Monjolo
[EMAIL PROTECTED]
(0xx45) 520-1915

Esta mensagem foi enviada pelo sistema MONJOLO WEBMAIL

http://www.colegiomonjolo.com.br


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

Reply via email to