round function error???
sjmachin at lexicon.net
Sun Jul 20 23:38:28 CEST 2008
On Jul 21, 12:56 am, Mark Dickinson <dicki... at gmail.com> wrote:
> On Jul 19, 12:20 am, John Machin <sjmac... at lexicon.net> wrote:
> > On Jul 19, 8:05 am, Mark Dickinson <dicki... at gmail.com> wrote:
> > > for more information. But I'm guessing that you're
> > > questioning the fact that a value that's apparently
> > > *less* than 3499.35 is rounded up to 3499.4, rather
> > > than down to 3499.3. ?
> > "apparently" being the operative word.
> Well, it's not just an apparent problem: the closest
> floating-point number to 3499.35 really *is* less than
I'm well aware of that. My point is that I hope that you weren't
planning on changing that behaviour in an unannounced unstaged
More information about the Python-list