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 mark.dickinson
Recipients chili, ezio.melotti, mark.dickinson, mrabarnett
Date 2013-11-27.08:06:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1385539568.15.0.249286833262.issue19807@psf.upfronthosting.co.za>
In-reply-to
Content
Sorry; this is just the way that (binary) floating-point works.  See http://docs.python.org/2/tutorial/floatingpoint.html for more (or Google 'binary floating point' for a host of references).

If you're doing financial calculations, you may want to look into the decimal module: http://docs.python.org/2/library/decimal.html
History
Date User Action Args
2013-11-27 08:06:08mark.dickinsonsetrecipients: + mark.dickinson, ezio.melotti, mrabarnett, chili
2013-11-27 08:06:08mark.dickinsonsetmessageid: <1385539568.15.0.249286833262.issue19807@psf.upfronthosting.co.za>
2013-11-27 08:06:08mark.dickinsonlinkissue19807 messages
2013-11-27 08:06:07mark.dickinsoncreate