[Python-ideas] Round division

Stephen J. Turnbull stephen at xemacs.org
Sun Sep 13 03:53:05 CEST 2015

Guido van Rossum writes:
 > On Fri, Sep 11, 2015 at 9:18 AM, Emile van Sebille <emile at fenx.com> wrote:

 > > Wow -- I'm glad I work predominately in business environments and keep
 > > amounts in pennies.  The only time I need to round anything is to the
 > > nearest cent.
 > >
 > I thought any programmer worth their salt would round down (i.e. trunc())
 > and transfer the fractional penny to their own account? :-)

Hate to tell you, but the accountants and even the SEC caught on to
that one four decades ago.

More information about the Python-ideas mailing list