On Feb 25, 2:04 am, Paul Rubin <http://[EMAIL PROTECTED]> wrote:
> Carl Banks <[EMAIL PROTECTED]> writes:
> > Try doing numerical integration sometime with rationals, and tell me
> > how that works out.  Try calculating compound interest and storing
> > results for 1000 customers every month, and compare the size of your
> > database before and after.
>
> Usually you would round to the nearest penny before storing in the
> database.

I throw it out there as a hypothetical, not as a real world example.
"This is why we don't (usually) use rationals for accounting."


Carl Banks
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to