[Tutor] Float Numbers. 98/100 returns 0.97999999999999998

Deirdre Saoirse deirdre@deirdre.net
Tue, 27 Mar 2001 20:57:05 -0800 (PST)


On Wed, 28 Mar 2001, Jethro Cramp wrote:

> >>> x = FixedPoint("5.55")
> >>> print x
> .05

This works correctly in 1.52.

Have you tried it without the quote marks? That also works in 1.52, but
I'm wondering if it gives a different result in 2.0.

--
_Deirdre   NEW Stash-o-Matic: http://fuzzyorange.com  http://deirdre.net
"I love deadlines. I like the whooshing sound they make as they fly by."
                                                         - Douglas Adams