On May 25, 8:58 pm, [EMAIL PROTECTED] wrote:
> >>> x = 5
> >>> x /= 2
> >>> x
> 2
> >>> x *=11.4
> >>> x
>
> 22.800000000000001
>
> ok where does the 1 in the come from?

Floating point arithmetic.

Michael Foord
http://www.ironpythoninaction.com/
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to