3.2*2 is 9.6 ... or maybe it isn't?
dickinsm at gmail.com
Thu Jun 25 20:35:12 CEST 2009
On Jun 25, 7:04 pm, Bojan Sudarevic <bo... at sudarevic.com> wrote:
> 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.
It looks like it's false in PHP too, by the way (not
that I know any PHP, so I could well be missing
bernoulli:py3k dickinsm$ php -a
Interactive mode enabled
$a = 3.2*3;
$b = 9.6;
var_dump($a == $b);
More information about the Python-list