[New-bugs-announce] [issue10564] maths float error

Tom Quaile report at bugs.python.org
Sun Nov 28 16:50:36 CET 2010

New submission from Tom Quaile <tom.quaile at gmail.com>:

Using IDLE 3.2a4
Apologies in advance for probably wasting your time. If I'm wrong, just ignore me. I'm very new to Python. Is this a bug, my processor or me? I'm sending this in as I see it's an alpha release.

If the user supplies 100 as the answer, I would have expected a result of 115 for a 15% tip. I get 114.999999999.

files: tip.py
messages: 122667
nosy: ipcctv
priority: normal
severity: normal
status: open
title: maths float error
type: behavior
versions: Python 3.2
Added file: http://bugs.python.org/file19856/tip.py

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list