in reply to $var == 1 fails when $var = 1
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
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
FootballPerl is like chess, only without the dice
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: $var == 1 fails when $var = 1 (lost post)
by syphilis (Archbishop) on Sep 21, 2018 at 14:55 UTC | |
by LanX (Saint) on Sep 21, 2018 at 15:41 UTC | |
Re^2: $var == 1 fails when $var = 1
by Your Mother (Archbishop) on Sep 21, 2018 at 01:59 UTC | |
by LanX (Saint) on Sep 21, 2018 at 02:11 UTC | |
by BillKSmith (Monsignor) on Sep 21, 2018 at 13:25 UTC | |
by LanX (Saint) on Sep 21, 2018 at 14:02 UTC | |
by Your Mother (Archbishop) on Sep 21, 2018 at 02:50 UTC |
In Section
Seekers of Perl Wisdom