Uses of Class java.math.BigDecimal

Uses in package java.util

Methods with return type java.math.BigDecimal

BigDecimal
Tries to interpret the next string as a BigDecimal value.

Uses in package org.omg.CORBA.portable

Methods with parameter type java.math.BigDecimal

void
Should write a BigDecimal number, but, following specification, it does not and must be overridden to get a functionality.

Methods with return type java.math.BigDecimal

BigDecimal
Read a CORBA fixed.

Uses in package javax.xml.datatype

Methods with parameter type java.math.BigDecimal

Duration
Returns the result of multiplying this duration by the given factor.
Duration
DatatypeFactory.newDuration(boolean isPositive, BigInteger years, BigInteger months, BigInteger days, BigInteger hours, BigInteger minutes, BigDecimal seconds)
Returns a new duration by specifying the individual components.
XMLGregorianCalendar
DatatypeFactory.newXMLGregorianCalendar(BigInteger year, int month, int day, int hour, int minute, int second, BigDecimal fractionalSecond, int timezone)
Returns a new XMLGregorianCalendar with the specified components.
XMLGregorianCalendar
DatatypeFactory.newXMLGregorianCalendarTime(int hours, int minutes, int seconds, BigDecimal fractionalSecond, int timezone)
Returns a new XMLGregorianCalendar with the specified components.
void
void
XMLGregorianCalendar.setTime(int hour, int minute, int second, BigDecimal fractional)

Methods with return type java.math.BigDecimal

BigDecimal

Uses in package gnu.CORBA

Methods with parameter type java.math.BigDecimal

void
Inserts the CORBA fixed, setting the typecode by example of the currently passed value.
void
Inserts the CORBA fixed, setting the typecode explicitly.
void
Write the big decimal as CORBA fixed<.code>.

Methods with return type java.math.BigDecimal

BigDecimal
Extract the previously inserted CORBA fixed/
BigDecimal
Read the CORBA fixed, autodetecting the number of bytes and assuming the given scale.

Uses in package java.math

Fields of type java.math.BigDecimal

BigDecimal
The constant one as a BigDecimal with scale zero.
BigDecimal
The constant ten as a BigDecimal with scale zero.
BigDecimal
The constant zero as a BigDecimal with scale zero.

Methods with parameter type java.math.BigDecimal

BigDecimal
BigDecimal
Returns a BigDecimal whose value is found first by calling the method add(val) and then by rounding according to the MathContext mc.
int
BigDecimal
Performs division, if the resulting quotient requires rounding (has a nonterminating decimal expansion), an ArithmeticException is thrown.
BigDecimal
BigDecimal.divide(BigDecimal val, int roundingMode)
BigDecimal
BigDecimal.divide(BigDecimal val, int newScale, int roundingMode)
BigDecimal
BigDecimal.divide(BigDecimal val, int scale, RoundingMode roundingMode)
Returns a BigDecimal whose value is (this / val), with the specified scale and rounding according to the RoundingMode
BigDecimal
Returns a BigDecimal whose value is (this / val) rounded according to the RoundingMode
BigDecimal[]
Returns a BigDecimal array, the first element of which is the integer part of this / val, and the second element of which is the remainder of that quotient.
BigDecimal
Returns a BigDecimal whose value is the integer part of the quotient this / val.
BigDecimal
BigDecimal
BigDecimal
BigDecimal
Returns a BigDecimal whose value is (this x val) before it is rounded according to the MathContext mc.
BigDecimal
Returns a BigDecimal whose value is the remainder in the quotient this / val.
BigDecimal
BigDecimal
Returns a BigDecimal whose value is found first by calling the method subtract(val) and then by rounding according to the MathContext mc.

Methods with return type java.math.BigDecimal

BigDecimal
BigDecimal
Returns a BigDecimal whose value is the absolute value of this BigDecimal with rounding according to the given MathContext.
BigDecimal
BigDecimal
Returns a BigDecimal whose value is found first by calling the method add(val) and then by rounding according to the MathContext mc.
BigDecimal
Performs division, if the resulting quotient requires rounding (has a nonterminating decimal expansion), an ArithmeticException is thrown.
BigDecimal
BigDecimal.divide(BigDecimal val, int roundingMode)
BigDecimal
BigDecimal.divide(BigDecimal val, int newScale, int roundingMode)
BigDecimal
BigDecimal.divide(BigDecimal val, int scale, RoundingMode roundingMode)
Returns a BigDecimal whose value is (this / val), with the specified scale and rounding according to the RoundingMode
BigDecimal
Returns a BigDecimal whose value is (this / val) rounded according to the RoundingMode
BigDecimal[]
Returns a BigDecimal array, the first element of which is the integer part of this / val, and the second element of which is the remainder of that quotient.
BigDecimal
Returns a BigDecimal whose value is the integer part of the quotient this / val.
BigDecimal
BigDecimal
BigDecimal
BigDecimal
BigDecimal
BigDecimal
Returns a BigDecimal whose value is (this x val) before it is rounded according to the MathContext mc.
BigDecimal
BigDecimal
Returns a BigDecimal whose value is found first by negating this via the negate() method, then by rounding according to the MathContext mc.
BigDecimal
Returns this BigDecimal.
BigDecimal
Returns a BigDecimal whose value is found by rounding this according to the MathContext.
BigDecimal
BigDecimal.pow(int n)
Returns a BigDecimal whose value is this to the power of n.
BigDecimal
Returns a BigDecimal whose value is determined by first calling pow(n) and then by rounding according to the MathContext mc.
BigDecimal
Returns a BigDecimal whose value is the remainder in the quotient this / val.
BigDecimal
Returns a BigDecimal which is this BigDecimal rounded according to the MathContext rounding settings.
BigDecimal
Returns a BigDecimal whose numerical value is the numerical value of this BigDecimal multiplied by 10 to the power of n.
BigDecimal
BigDecimal.setScale(int scale)
BigDecimal
BigDecimal.setScale(int scale, int roundingMode)
BigDecimal
BigDecimal.setScale(int newScale, RoundingMode roundingMode)
Returns a BigDecimal whose value is the same as this BigDecimal but whose representation has a scale of newScale.
BigDecimal
Returns a BigDecimal which is numerically equal to this BigDecimal but with no trailing zeros in the representation.
BigDecimal
BigDecimal
Returns a BigDecimal whose value is found first by calling the method subtract(val) and then by rounding according to the MathContext mc.
BigDecimal
Returns the size of a unit in the last place of this BigDecimal.
BigDecimal
BigDecimal.valueOf(double val)
Returns a new BigDecimal constructed from the BigDecimal(String) constructor using the Double.toString(double) method to obtain the String.
BigDecimal
BigDecimal.valueOf(long val)
BigDecimal
BigDecimal.valueOf(long val, int scale)

Uses in package gnu.CORBA.CDR

Methods with parameter type java.math.BigDecimal

void
Writes CORBA fixed, storing all digits but not the scale.

Methods with return type java.math.BigDecimal

BigDecimal
Read the CORBA fixed (the end of the fixed can be determined by its last byte).
BigDecimal
Delegates functionality to the underlying stream.

Uses in package javax.sql

Methods with parameter type java.math.BigDecimal

void
RowSet.setBigDecimal(int parameterIndex, BigDecimal x)

Uses in package gnu.CORBA.typecodes

Constructors with parameter type java.math.BigDecimal

Creates the instance of the fixed type code, setting the digits and scale by example.

Methods with parameter type java.math.BigDecimal

int
Get the number of digits in thid BigDecimal

Uses in package java.sql

Methods with parameter type java.math.BigDecimal

void
This method sets the specified parameter from the given Java java.math.BigDecimal value.
void
This method sets the specified parameter from the given Java BigDecimal value.
void
ResultSet.updateBigDecimal(int columnIndex, BigDecimal value)
This method updates the specified column to have a BigDecimal value.
void
This method updates the specified column to have a BigDecimal value.
void
This method writes the specified Java BigDecimal to the SQL stream.

Methods with return type java.math.BigDecimal

BigDecimal
This method returns the value of the specified parameter as a Java BigDecimal.
BigDecimal
ResultSet.getBigDecimal(int columnIndex)
This method returns the value of the specified column as a Java BigDecimal.
BigDecimal
CallableStatement.getBigDecimal(int index, int scale)
This method returns the value of the specified parameter as a Java BigDecimal.
BigDecimal
ResultSet.getBigDecimal(int columnIndex, int scale)
This method returns the value of the specified column as a Java BigDecimal.
BigDecimal
This method returns the value of the specified parameter as a Java BigDecimal.
BigDecimal
This method returns the value of the specified column as a Java BigDecimal.
BigDecimal
ResultSet.getBigDecimal(String columnName, int scale)
This method returns the value of the specified column as a Java BigDecimal.
BigDecimal
This method reads the next item from the stream a Java BigDecimal.

Uses in package org.omg.CORBA

Constructors with parameter type java.math.BigDecimal

Constructs an instance of FixedHolder, initializing value to the given BigDecimal.

Fields of type java.math.BigDecimal

BigDecimal
The BigDecimal (CORBA fixed) value, held by this FixedHolder.

Methods with parameter type java.math.BigDecimal

void
Insert the CORBA fixed into this Any
void
Insert the CORBA fixed into this Any

Methods with return type java.math.BigDecimal

BigDecimal
Extract the CORBA fixed from this Any.