Just another Perl shrine | |
PerlMonks |
Re: $var == 1 fails when $var = 1 (lost post)by LanX (Saint) |
on Sep 20, 2018 at 23:44 UTC ( [id://1222765]=note: print w/replies, xml ) | Need Help?? |
Strange, I seem to remember someone (Laurent?) already replying in this thread with this classic link What Every Programmer Should Know About Floating-Point Arithmetic Well once again.
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|