Think about Loose Coupling | |
PerlMonks |
Re: NV/IV Bug ?by extremely (Priest) |
on Feb 27, 2003 at 18:48 UTC ( [id://239203]=note: print w/replies, xml ) | Need Help?? |
1.15 in binary is... ooops, an infinite series. There is special magic in place for what is basically 1.1499999999999 when multiplied and printed. But when you you force to int(), you dodge that magic and get the proper truncated value.
--
In Section
Seekers of Perl Wisdom
|
|