Stéphane Wirtel <steph...@wirtel.be> added the comment:

because you have the round with the float type. 

you could use the decimal module with Decimal

In [1]: import decimal

In [2]: decimal.Decimal('15.06') + 5
Out[2]: Decimal('20.06')

----------
nosy: +matrixise
stage:  -> resolved
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue34907>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to