[Tutor] Float Numbers. 98/100 returns 0.97999999999999998

Remco Gerlich scarblac@pino.selwerd.nl
Wed, 21 Mar 2001 15:07:42 +0100


On Wed, Mar 21, 2001 at 08:50:17AM -0500, Benoit Dupire wrote:
> Remco Gerlich wrote:
> 
> > On Wed, Mar 21, 2001 at 11:52:40AM +0800, Jethro Cramp wrote:
> >
> > >       0.97999999999999998
> > >
> > > What should I be doing to get the correct result of 0.98?
> >
> > I was going to refer you to the FAQ, but it seems this is still not in
> > there, will try to make an entry later today.
> 
> how

Bah. I thought everyone could add things to the FAQ with the FAQ Wizard, but
it's only for PSA members. I thought the PSA was defunct, but then then
things has changed so fast in the last half year... www.python.org is hosted
by CNRI, has BeOpen logos here and there, and has things run by the PSA on
it... But I digress.

So I'm not adding to the FAQ after all. I could mail someone but I'm lazy at
the moment.

-- 
Remco Gerlich