From: DaVinci Date: 2001-08-30T06:35:38+09:00 Subject: [ruby-talk:20557] Re: Problem with float numbers On Wed, Aug 29, 2001 at 11:08:04PM +0900, Yukihiro Matsumoto wrote: > | I have found a rare problem with float numbers. It only raises when I use > | Gtk extension (or so I think). > > I think it's caused by locale. Gtk calls setlocale() inside. > Does ',' used for point in your locale? Yes. But what about the other problem? 3.45 * 2.6 => 6.0 It seems an integer product, but all numbers are float 8| Good... tomorrow I will try to set locale and see if that works. More info very soon ;) Greets and thanks. David