Java Platform 1.2
Beta 4

Uses of Class
java.math.BigDecimal

Packages that use BigDecimal
java.math Provides classes for performing arbitrary-precision integer arithmetic (BigInteger) and arbitrary-precision decimal arithmetic (BigDecimal).  
java.sql Provides the JDBC package.  
org.omg.CORBA   
 

Uses of BigDecimal in java.math
 

Methods in java.math that return BigDecimal
static BigDecimal BigDecimal.valueOf(long unscaledVal, int scale)
          Translates a long unscaled value and an int scale into a BigDecimal.
static BigDecimal BigDecimal.valueOf(long val)
          Translates a long value into a BigDecimal with a scale of zero.
 BigDecimal BigDecimal.add(BigDecimal val)
          Returns a BigDecimal whose value is (this + val), and whose scale is max(this.scale(), val.scale()).
 BigDecimal BigDecimal.subtract(BigDecimal val)
          Returns a BigDecimal whose value is (this - val), and whose scale is max(this.scale(), val.scale()).
 BigDecimal BigDecimal.multiply(BigDecimal val)
          Returns a BigDecimal whose value is (this * val), and whose scale is (this.scale() + val.scale()).
 BigDecimal BigDecimal.divide(BigDecimal val, int scale, int roundingMode)
          Returns a BigDecimal whose value is (this / val), and whose scale is as specified.
 BigDecimal BigDecimal.divide(BigDecimal val, int roundingMode)
          Returns a BigDecimal whose value is (this / val), and whose scale is this.scale().
 BigDecimal BigDecimal.abs()
          Returns a BigDecimal whose value is the absolute value of this BigDecimal, and whose scale is this.scale().
 BigDecimal BigDecimal.negate()
          Returns a BigDecimal whose value is (-this), and whose scale is this.scale().
 BigDecimal BigDecimal.setScale(int scale, int roundingMode)
          Returns a BigDecimal whose scale is the specified value, and whose unscaled value is determined by multiplying or dividing this BigDecimal's unscaled value by the appropriate power of ten to maintain its overall value.
 BigDecimal BigDecimal.setScale(int scale)
          Returns a BigDecimal whose scale is the specified value, and whose value is numerically equal to this BigDecimal's.
 BigDecimal BigDecimal.movePointLeft(int n)
          Returns a BigDecimal which is equivalent to this one with the decimal point moved n places to the left.
 BigDecimal BigDecimal.movePointRight(int n)
          Moves the decimal point the specified number of places to the right.
 BigDecimal BigDecimal.min(BigDecimal val)
          Returns the minimum of this BigDecimal and val.
 BigDecimal BigDecimal.max(BigDecimal val)
          Returns the maximum of this BigDecimal and val.
 

Methods in java.math with parameters of type BigDecimal
 BigDecimal BigDecimal.add(BigDecimal val)
          Returns a BigDecimal whose value is (this + val), and whose scale is max(this.scale(), val.scale()).
 BigDecimal BigDecimal.subtract(BigDecimal val)
          Returns a BigDecimal whose value is (this - val), and whose scale is max(this.scale(), val.scale()).
 BigDecimal BigDecimal.multiply(BigDecimal val)
          Returns a BigDecimal whose value is (this * val), and whose scale is (this.scale() + val.scale()).
 BigDecimal BigDecimal.divide(BigDecimal val, int scale, int roundingMode)
          Returns a BigDecimal whose value is (this / val), and whose scale is as specified.
 BigDecimal BigDecimal.divide(BigDecimal val, int roundingMode)
          Returns a BigDecimal whose value is (this / val), and whose scale is this.scale().
 int BigDecimal.compareTo(BigDecimal val)
          Compares this BigDecimal with the specified BigDecimal.
 BigDecimal BigDecimal.min(BigDecimal val)
          Returns the minimum of this BigDecimal and val.
 BigDecimal BigDecimal.max(BigDecimal val)
          Returns the maximum of this BigDecimal and val.
 

Uses of BigDecimal in java.sql
 

Methods in java.sql that return BigDecimal
 BigDecimal ResultSet.getBigDecimal(int columnIndex, int scale)
          Deprecated.  
 BigDecimal ResultSet.getBigDecimal(String columnName, int scale)
          Deprecated.  
 BigDecimal ResultSet.getBigDecimal(int columnIndex)
          JDBC 2.0 Get the value of a column in the current row as a java.math.
 BigDecimal ResultSet.getBigDecimal(String columnName)
          JDBC 2.0 Get the value of a column in the current row as a java.math.
 BigDecimal SQLInput.readBigDecimal()
          Read the next attribute in the stream as a java.math.
 BigDecimal CallableStatement.getBigDecimal(int parameterIndex, int scale)
          Deprecated.  
 BigDecimal CallableStatement.getBigDecimal(int parameterIndex)
          JDBC 2.0 Get the value of a NUMERIC parameter as a java.math.
 

Methods in java.sql with parameters of type BigDecimal
 void PreparedStatement.setBigDecimal(int parameterIndex, BigDecimal x)
          Set a parameter to a java.lang.
 void ResultSet.updateBigDecimal(int columnIndex, BigDecimal x)
          JDBC 2.0 Update a column with a BigDecimal value.
 void ResultSet.updateBigDecimal(String columnName, BigDecimal x)
          JDBC 2.0 Update a column with a BigDecimal value.
 void SQLOutput.writeBigDecimal(BigDecimal x)
          Write the next attribute to the stream as a java.math.
 

Uses of BigDecimal in org.omg.CORBA
 

Fields in org.omg.CORBA declared as BigDecimal
 BigDecimal FixedHolder.value
          The value held by the FixedHolder
 

Constructors in org.omg.CORBA with parameters of type BigDecimal
FixedHolder.FixedHolder(BigDecimal initial)
          Construct the FixedHolder and initialize it with the given value.
 


Java Platform 1.2
Beta 4

Submit a bug or feature
Submit comments/suggestions about new javadoc look
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.
This documentation was generated with a post-Beta4 version of Javadoc.