From: Thomas Preymesser Date: 2009-07-23T02:37:34+09:00 Subject: Re: Bug Rounding Floats? (9.245 * 100).round => 924? S/B 925! --0016e6d647b1cd9e72046f4ecdd0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 2009/7/22 ddoherty03 > For example, (9.245 * 100).round should be 925, but my ruby gives 924. > try what your term really is: printf("%.50f",9.245 * 100) -Thomas -- Thomas Preymesser thopre@gmail.com http://thopre.googlepages.com/ http://thopre.wordpress.com/ Mike Ditka - "If God had wanted man to play soccer, he wouldn't have given us arms." --0016e6d647b1cd9e72046f4ecdd0--