3.2*2 is 9.6 ... or maybe it isn't?
Mark Dickinson
dickinsm at gmail.com
Thu Jun 25 14:19:22 EDT 2009
On Jun 25, 7:04 pm, Bojan Sudarevic <bo... at sudarevic.com> wrote:
> Hi,
>
> I'm PHP developer and entirely new to Python. I installed it (version
> 2.5.2, from Debian repos) today on the persuasion of a friend, who is a
> Python addict.
>
> The first thing I typed into it was 3.2*3 (don't ask why I typed *that*,
> I don*t know, I just did). And the answer wasn't 9.6.
>
> [examples snipped]
Hi Bojan,
This is a FAQ. Take a look at:
http://docs.python.org/tutorial/floatingpoint.html
and let us know whether that explains things to your
satisfaction.
Mark
More information about the Python-list
mailing list