Since: API Level 1
package

java.math

Classes | Description

Provides arbitrary-precision integers and decimals. Class BigInteger provides integers which are limited by the available memory only. Class BigDecimal provides arbitrary-precision signed decimal numbers. These numbers are suitable for currency calculations. The user has full control over the rounding behavior (comparable with the IEEE754R rounding modes).