New submission from travelgirl: http://docs.python.org/tut/node5.html states, as an example, round(_, 2) should round to the second decimal place. makes sense. when i attempted it with different numbers, round() returned what looks like a binary-coded decimal error (see the jpg enclosed), and did not return just two digits, but 15 digits. the same error was produced for round(_, 3). when the number was changed to 1 digit, the return result rounded from another direction.
i'd guess this isn't a feature :) ---------- components: Windows files: python bug.jpg messages: 58225 nosy: travelgirl severity: normal status: open title: round() does not type: behavior versions: Python 2.5 Added file: http://bugs.python.org/file8882/python bug.jpg __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1559> __________________________________
<<attachment: python bug.jpg>>
_______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com