[issue14262] Allow using decimals as arguments to `timedelta`

Ram Rachum report at bugs.python.org
Wed Sep 19 23:36:57 CEST 2012


Ram Rachum added the comment:

In the example I gave, Decimal is clearly preferred over float. Why would we use float to represent the ratio of the bonus to the client? Why would we risk imprecision there when Decimal provides us with perfect precision?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14262>
_______________________________________


More information about the Python-bugs-list mailing list