in reply to Re: Variables are automatically rounded off in perl
in thread Variables are automatically rounded off in perl
Somebody had to mention it. 0.30000000000000004.com
But that's a different issue. That one's about getting a result of 0.30000000000000004 when a result of 0.3 is "expected".
In the OP's case, a result of 3336 was obtained though the expected (and correct) result is 3335.9999999999995.
Cheers,
Rob
But that's a different issue. That one's about getting a result of 0.30000000000000004 when a result of 0.3 is "expected".
In the OP's case, a result of 3336 was obtained though the expected (and correct) result is 3335.9999999999995.
Cheers,
Rob
In Section
Seekers of Perl Wisdom