shocking imprecisionby xrmb (Novice)
|on Oct 17, 2011 at 21:49 UTC||Need Help??|
xrmb has asked for the
wisdom of the Perl Monks concerning the following question:
I was debugging a missing penny today and I ended up with this disappointment:
is that true? so imprecise with such low numbers? I guess 4.39 * 100 becomes 438.9999999999, but:
What can I do to get the int be right? I'm sure there are other numbers it has problems with.