in reply to Funny addition behaviour
I don't have a system to test this on, but what happens if you scale all the number up by a factor of 10?
In other words, can you get around the problem by not dealing with decimals?perl -e 'print "CRAP\n" if ((334+333+333)/10 != 100)'
-Theo-
(so many nodes and so little time ... )
|
---|
In Section
Seekers of Perl Wisdom