[issue19807] calculation of standard math returns incorrect value

2013-11-27 Thread chili
chili added the comment: Thx for help. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.o

[issue19807] calculation of standard math returns incorrect value

2013-11-27 Thread Mark Dickinson
Mark Dickinson added the comment: 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 t

[issue19807] calculation of standard math returns incorrect value

2013-11-26 Thread chili
Changes by chili : -- title: calculation of standard math -> calculation of standard math returns incorrect value ___ Python tracker ___ __

[issue19807] calculation of standard math

2013-11-26 Thread chili
New submission from chili: Calculation of print (162-159.9) (IDLE and source script) returns 2.0943 I don“t make my financial calculation with this command :) -- components: Regular Expressions messages: 204561 nosy: chili, ezio.melotti, mrabarnett priority: normal severity: