From: DaVinci Date: 2001-08-30T16:23:28+09:00 Subject: [ruby-talk:20569] Re: Problem with float numbers On Thu, Aug 30, 2001 at 12:29:58PM +0900, Yukihiro Matsumoto wrote: > | Yes. But what about the other problem? > | > | 3.45 * 2.6 => 6.0 > > Probably strtod() returns 3.0 (actually 3,0 in this case) for "3.45" > due to locale. Any solution for this? I don't understand why it fails with locale. I suppose this is a bug in strtod, isn't this? David