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 paontis
Recipients paontis
Date 2010-09-17.11:36:15
SpamBayes Score 4.528754e-06
Marked as misclassified No
Message-id <1284723379.23.0.462202029266.issue9885@psf.upfronthosting.co.za>
In-reply-to
Content
For example round(10.3333, 1) returns 10.300000000000001 and round(1.3333, 2)returns 1.3300000000000001

I exect they return 10.3 and 1.33 rispectively

NOTE: other combinations work fine eg. round(10.3333, 2) or round(1.3333, 3)

See IDLE commands in the attached file round.txt

Used Python 2.6.6 for Windows
History
Date User Action Args
2010-09-17 11:36:19paontissetrecipients: + paontis
2010-09-17 11:36:19paontissetmessageid: <1284723379.23.0.462202029266.issue9885@psf.upfronthosting.co.za>
2010-09-17 11:36:16paontislinkissue9885 messages
2010-09-17 11:36:16paontiscreate