
Java™ Platform Standard Ed. 6 

PREV PACKAGE NEXT PACKAGE  FRAMES NO FRAMES 
See:
Description
Class Summary  

BigDecimal  Immutable, arbitraryprecision signed decimal numbers. 
BigInteger  Immutable arbitraryprecision integers. 
MathContext  Immutable objects which encapsulate the context settings which
describe certain rules for numerical operators, such as those
implemented by the BigDecimal class. 
Enum Summary  

RoundingMode  Specifies a rounding behavior for numerical operations capable of discarding precision. 
Provides classes for performing arbitraryprecision integer arithmetic (BigInteger) and arbitraryprecision decimal arithmetic (BigDecimal). BigInteger is analogous to Java's primitive integer types except that it provides arbitrary precision, hence operations on BigIntegers do not overflow or lose precision. In addition to standard arithmetic operations, BigInteger provides modular arithmetic, GCD calculation, primality testing, prime generation, bit manipulation, and a few other miscellaneous operations. BigDecimal provides arbitraryprecision signed decimal numbers suitable for currency calculations and the like. BigDecimal gives the user complete control over rounding behavior, allowing the user to choose from a comprehensive set of eight rounding modes.

Java™ Platform Standard Ed. 6 

PREV PACKAGE NEXT PACKAGE  FRAMES NO FRAMES 
Copyright © 1993, 2011, Oracle and/or its affiliates. All rights reserved.
Scripting on this page tracks web page traffic, but does not change the content in any way.