This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author travelgirl
Recipients travelgirl
Date 2007-12-05.19:58:11
SpamBayes Score 0.11392616
Marked as misclassified No
Message-id <1196884691.56.0.617857445117.issue1559@psf.upfronthosting.co.za>
In-reply-to
Content
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 :)
Files
File name Uploaded
python bug.jpg travelgirl, 2007-12-05.19:58:11
History
Date User Action Args
2007-12-05 19:58:11travelgirlsetspambayes_score: 0.113926 -> 0.11392616
recipients: + travelgirl
2007-12-05 19:58:11travelgirlsetspambayes_score: 0.113926 -> 0.113926
messageid: <1196884691.56.0.617857445117.issue1559@psf.upfronthosting.co.za>
2007-12-05 19:58:11travelgirllinkissue1559 messages
2007-12-05 19:58:11travelgirlcreate