Numeric literals in Perl and any other programming language I've ever heard of use decimal dots, not commas. Irrespective of locale settings.
if ($number4 == 1.2) {
Jenda
Enoch was right!
Enjoy the last years of Rome.
In reply to Re: Perl compare
by Jenda
in thread Perl compare
by waytoperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |