[Israel.pm] perl arithmetic

Yuval Yaari yuval at windax.com
Sun Apr 18 07:10:40 PDT 2004


 > perl -le 'print int 100*4.56'
455

 > perl -v

This is perl, v5.8.2 built for i686-linux
[...]

What version are you using?

  --Yuval

Yuval Kogman wrote:

>BTW:
>[eris:~] nothingmuch% perl -e 'print int 100*4.56, "\n";'
>456
>  
>




More information about the Perl mailing list