The java.math Package


The java.math Package

The java.math package contains two classes, BigInteger and BigDecimal , which allow arbitrary precision integer and decimal arithmetic. In addition to arithmetic methods , the BigInteger class provides functionality for such things as modular arithmetic, prime generation, and bit manipulation. The BigDecimal class provides arbitrary-precision signed decimal numbers for currency calculations and a customizable rounding capability. The examples in this book won't make use of either of the java.math classes. For more information on them, consult the Sun Java docs.



Technical Java. Applications for Science and Engineering
Technical Java: Applications for Science and Engineering
ISBN: 0131018159
EAN: 2147483647
Year: 2003
Pages: 281
Authors: Grant Palmer

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net