On 5/15/05, Ron Adam <[EMAIL PROTECTED]> wrote:

>  >>> x
> 3200001.6000000001
> 
> Here the error has been kept to a minimum.  In most cases, it isn't a
> problem, but it is something to be aware of.  It does matter in banking
> and I beleive there are standard ways of dealing with it.

Yes, use Decimal:

    http://docs.python.org/lib/module-decimal.html

Remember that you can also use it in Python 2.3.x:

    http://www.taniquetil.com.ar/facundo/bdvfiles/get_decimal.html

.    Facundo

Blog: http://www.taniquetil.com.ar/plog/
PyAr: http://www.python.org/ar/
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to