Problem whit float precision, 1.6 Windows 98

Tim Peters tim_one at email.msn.com
Thu Sep 14 02:21:22 EDT 2000


[Juan Huertas]
> Interactive windows:
>
> >>> a=12020.685
> >>> a
> 12020.684999999999
>
> This is a great problem for monetary treatment.
>
> Please aid.

Get the FixedPoint.py module, from:

ftp://ftp.python.org/pub/python/contrib-09-Dec-1999/DataStructures/

Docs are at the top of the module.






More information about the Python-list mailing list