BigDecimal

BigDecimal is a Java class that is used to work with arbitrary precision decimal numbers. Python doesn't have this. The closest is Python's built-in long datatype, which allows arbitrary length integers. See also BigInteger.

There are various libraries that add arbitrary precision decimals to Python though.

/!\ Talk about the Decimal module in recent Python versions

BigDecimal (last edited 2006-04-18 00:21:58 by 192)