From: "Dr.Ruud" <rvtol+use...@isolution.nl>
Octavian Rasnita wrote:

print 0.79 - 0.798;

-0.00800000000000001

which is obviously wrong.

And it is obvious to me that you are wrong. Funny hey?

--
Ruud

Sorry but the calculation is obviously wrong. It is not my fault that the computers can't make a perfect float calculation with an infinite number of digits.
But yes, it is not just a fault of perl.

Octavian



--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to