[Israel.pm] perl arithmetic

Pinkhas Nisanov nisanov at netvision.net.il
Sun Apr 18 06:30:16 PDT 2004


Hi All,

I run:

==> perl -e 'print 18.99+4.56==23.55 ? "TRUE" : "FALSE", "\n"'
FALSE
==> perl -e 'print 18.98+4.57==23.55 ? "TRUE" : "FALSE", "\n"'
TRUE

Why?

regards
Pinkhas Nisanov




More information about the Perl mailing list