Decimal data type (RE: [Bf-python] (no subject))
Toni Alatalo
antont at kyperjokki.fi
Mon Feb 21 12:15:57 CET 2005
On Sun, 20 Feb 2005, Gilbert, Joseph wrote:
> return PyFloat_FromDouble( ( double )
just thought that the new Decimal data type in Python 2.4 might be
relevant here, http://www.python.org/peps/pep-0327.html "The idea is to
have a Decimal data type, for every use where decimals are needed but
binary floating point is too inexact."
~Toni
More information about the Bf-python
mailing list