From: Greg Lorriman Date: 2007-03-20T04:40:08+09:00 Subject: truncate trouble This ('40.12'.to_f*100).to_i results in this integer : 4011 This is a bit of surprise. I'm using 1.8.4 on windows. Is this a bug? Is there another floating type that avoids this problem? I;m not seeing anything in the docs that might have warned me. Greg