From: brian Date: 2005-06-09T09:40:57+09:00 Subject: Newb math question Can someone tell me why this code: puts (9.0-8.9).to_s results in: 0.0999999999999996 I'm expecting 0.01 as the result. Do I have to specify the precision? Even with the full precision available on the platform (Windows XP), the correct answer is still 0.01, not what's printed. What's the deal? I like this language so far, but this is confusing... Brian