|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use BigDecimal | |
com.ibm.icu.math | IBM BigDecimal support. |
com.ibm.icu.text | Extensions and enhancements to java.text to support unicode transforms, UnicodeSet, surrogate char utilities, UCA collation, normalization, break iteration (rule and dictionary based), enhanced number format, international string searching, and arabic shaping. |
com.ibm.icu.util | International calendars and other utility classes. |
Uses of BigDecimal in com.ibm.icu.math |
Fields in com.ibm.icu.math declared as BigDecimal | |
static BigDecimal |
BigDecimal.ZERO
The BigDecimal constant "0". |
static BigDecimal |
BigDecimal.ONE
The BigDecimal constant "1". |
static BigDecimal |
BigDecimal.TEN
The BigDecimal constant "10". |
Methods in com.ibm.icu.math that return BigDecimal | |
BigDecimal |
BigDecimal.abs()
Returns a plain BigDecimal whose value is the absolute
value of this BigDecimal .
|
BigDecimal |
BigDecimal.abs(MathContext set)
Returns a BigDecimal whose value is the absolute value
of this BigDecimal .
|
BigDecimal |
BigDecimal.add(BigDecimal rhs)
Returns a plain BigDecimal whose value is
this+rhs , using fixed point arithmetic.
|
BigDecimal |
BigDecimal.add(BigDecimal rhs,
MathContext set)
Returns a BigDecimal whose value is this+rhs .
|
BigDecimal |
BigDecimal.divide(BigDecimal rhs)
Returns a plain BigDecimal whose value is
this/rhs , using fixed point arithmetic.
|
BigDecimal |
BigDecimal.divide(BigDecimal rhs,
int round)
Returns a plain BigDecimal whose value is
this/rhs , using fixed point arithmetic and a
rounding mode.
|
BigDecimal |
BigDecimal.divide(BigDecimal rhs,
int scale,
int round)
Returns a plain BigDecimal whose value is
this/rhs , using fixed point arithmetic and a
given scale and rounding mode.
|
BigDecimal |
BigDecimal.divide(BigDecimal rhs,
MathContext set)
Returns a BigDecimal whose value is this/rhs .
|
BigDecimal |
BigDecimal.divideInteger(BigDecimal rhs)
Returns a plain BigDecimal whose value is the integer
part of this/rhs .
|
BigDecimal |
BigDecimal.divideInteger(BigDecimal rhs,
MathContext set)
Returns a BigDecimal whose value is the integer
part of this/rhs .
|
BigDecimal |
BigDecimal.max(BigDecimal rhs)
Returns a plain BigDecimal whose value is
the maximum of this and rhs .
|
BigDecimal |
BigDecimal.max(BigDecimal rhs,
MathContext set)
Returns a BigDecimal whose value is
the maximum of this and rhs .
|
BigDecimal |
BigDecimal.min(BigDecimal rhs)
Returns a plain BigDecimal whose value is
the minimum of this and rhs .
|
BigDecimal |
BigDecimal.min(BigDecimal rhs,
MathContext set)
Returns a BigDecimal whose value is
the minimum of this and rhs .
|
BigDecimal |
BigDecimal.multiply(BigDecimal rhs)
Returns a plain BigDecimal whose value is
this*rhs , using fixed point arithmetic.
|
BigDecimal |
BigDecimal.multiply(BigDecimal rhs,
MathContext set)
Returns a BigDecimal whose value is this*rhs .
|
BigDecimal |
BigDecimal.negate()
Returns a plain BigDecimal whose value is
-this .
|
BigDecimal |
BigDecimal.negate(MathContext set)
Returns a BigDecimal whose value is -this .
|
BigDecimal |
BigDecimal.plus()
Returns a plain BigDecimal whose value is
+this .
|
BigDecimal |
BigDecimal.plus(MathContext set)
Returns a BigDecimal whose value is
+this .
|
BigDecimal |
BigDecimal.pow(BigDecimal rhs)
Returns a plain BigDecimal whose value is
this**rhs , using fixed point arithmetic.
|
BigDecimal |
BigDecimal.pow(BigDecimal rhs,
MathContext set)
Returns a BigDecimal whose value is this**rhs .
|
BigDecimal |
BigDecimal.remainder(BigDecimal rhs)
Returns a plain BigDecimal whose value is
the remainder of this/rhs , using fixed point arithmetic.
|
BigDecimal |
BigDecimal.remainder(BigDecimal rhs,
MathContext set)
Returns a BigDecimal whose value is the remainder of
this/rhs .
|
BigDecimal |
BigDecimal.subtract(BigDecimal rhs)
Returns a plain BigDecimal whose value is
this-rhs , using fixed point arithmetic.
|
BigDecimal |
BigDecimal.subtract(BigDecimal rhs,
MathContext set)
Returns a BigDecimal whose value is this-rhs .
|
BigDecimal |
BigDecimal.movePointLeft(int n)
Returns a plain BigDecimal whose decimal point has
been moved to the left by a specified number of positions.
|
BigDecimal |
BigDecimal.movePointRight(int n)
Returns a plain BigDecimal whose decimal point has
been moved to the right by a specified number of positions.
|
BigDecimal |
BigDecimal.setScale(int scale)
Returns a plain BigDecimal with a given scale.
|
BigDecimal |
BigDecimal.setScale(int scale,
int round)
Returns a plain BigDecimal with a given scale.
|
static BigDecimal |
BigDecimal.valueOf(double dub)
Translates a double to a BigDecimal .
|
static BigDecimal |
BigDecimal.valueOf(long lint)
Translates a long to a BigDecimal .
|
static BigDecimal |
BigDecimal.valueOf(long lint,
int scale)
Translates a long to a BigDecimal with a
given scale.
|
Methods in com.ibm.icu.math with parameters of type BigDecimal | |
BigDecimal |
BigDecimal.add(BigDecimal rhs)
Returns a plain BigDecimal whose value is
this+rhs , using fixed point arithmetic.
|
BigDecimal |
BigDecimal.add(BigDecimal rhs,
MathContext set)
Returns a BigDecimal whose value is this+rhs .
|
int |
BigDecimal.compareTo(BigDecimal rhs)
Compares this BigDecimal to another, using unlimited
precision.
|
int |
BigDecimal.compareTo(BigDecimal rhs,
MathContext set)
Compares this BigDecimal to another.
|
BigDecimal |
BigDecimal.divide(BigDecimal rhs)
Returns a plain BigDecimal whose value is
this/rhs , using fixed point arithmetic.
|
BigDecimal |
BigDecimal.divide(BigDecimal rhs,
int round)
Returns a plain BigDecimal whose value is
this/rhs , using fixed point arithmetic and a
rounding mode.
|
BigDecimal |
BigDecimal.divide(BigDecimal rhs,
int scale,
int round)
Returns a plain BigDecimal whose value is
this/rhs , using fixed point arithmetic and a
given scale and rounding mode.
|
BigDecimal |
BigDecimal.divide(BigDecimal rhs,
MathContext set)
Returns a BigDecimal whose value is this/rhs .
|
BigDecimal |
BigDecimal.divideInteger(BigDecimal rhs)
Returns a plain BigDecimal whose value is the integer
part of this/rhs .
|
BigDecimal |
BigDecimal.divideInteger(BigDecimal rhs,
MathContext set)
Returns a BigDecimal whose value is the integer
part of this/rhs .
|
BigDecimal |
BigDecimal.max(BigDecimal rhs)
Returns a plain BigDecimal whose value is
the maximum of this and rhs .
|
BigDecimal |
BigDecimal.max(BigDecimal rhs,
MathContext set)
Returns a BigDecimal whose value is
the maximum of this and rhs .
|
BigDecimal |
BigDecimal.min(BigDecimal rhs)
Returns a plain BigDecimal whose value is
the minimum of this and rhs .
|
BigDecimal |
BigDecimal.min(BigDecimal rhs,
MathContext set)
Returns a BigDecimal whose value is
the minimum of this and rhs .
|
BigDecimal |
BigDecimal.multiply(BigDecimal rhs)
Returns a plain BigDecimal whose value is
this*rhs , using fixed point arithmetic.
|
BigDecimal |
BigDecimal.multiply(BigDecimal rhs,
MathContext set)
Returns a BigDecimal whose value is this*rhs .
|
BigDecimal |
BigDecimal.pow(BigDecimal rhs)
Returns a plain BigDecimal whose value is
this**rhs , using fixed point arithmetic.
|
BigDecimal |
BigDecimal.pow(BigDecimal rhs,
MathContext set)
Returns a BigDecimal whose value is this**rhs .
|
BigDecimal |
BigDecimal.remainder(BigDecimal rhs)
Returns a plain BigDecimal whose value is
the remainder of this/rhs , using fixed point arithmetic.
|
BigDecimal |
BigDecimal.remainder(BigDecimal rhs,
MathContext set)
Returns a BigDecimal whose value is the remainder of
this/rhs .
|
BigDecimal |
BigDecimal.subtract(BigDecimal rhs)
Returns a plain BigDecimal whose value is
this-rhs , using fixed point arithmetic.
|
BigDecimal |
BigDecimal.subtract(BigDecimal rhs,
MathContext set)
Returns a BigDecimal whose value is this-rhs .
|
Uses of BigDecimal in com.ibm.icu.text |
Methods in com.ibm.icu.text with parameters of type BigDecimal | |
StringBuffer |
DecimalFormat.format(BigDecimal number,
StringBuffer result,
FieldPosition fieldPosition)
NEW Format a BigDecimal number. |
StringBuffer |
RuleBasedNumberFormat.format(BigDecimal number,
StringBuffer toAppendTo,
FieldPosition pos)
NEW Implement com.ibm.icu.text.NumberFormat: Format a BigDecimal. |
String |
NumberFormat.format(BigDecimal number)
NEW Convenience method to format an ICU BigDecimal. |
abstract StringBuffer |
NumberFormat.format(BigDecimal number,
StringBuffer toAppendTo,
FieldPosition pos)
NEW Format a BigDecimal. |
Uses of BigDecimal in com.ibm.icu.util |
Methods in com.ibm.icu.util that return BigDecimal | |
static BigDecimal |
UniversalTimeScale.bigDecimalFrom(double otherTime,
int timeScale)
Deprecated. This is a draft API and might change in a future release of ICU. |
static BigDecimal |
UniversalTimeScale.bigDecimalFrom(long otherTime,
int timeScale)
Deprecated. This is a draft API and might change in a future release of ICU. |
static BigDecimal |
UniversalTimeScale.bigDecimalFrom(BigDecimal otherTime,
int timeScale)
Deprecated. This is a draft API and might change in a future release of ICU. |
static BigDecimal |
UniversalTimeScale.toBigDecimal(long universalTime,
int timeScale)
Deprecated. This is a draft API and might change in a future release of ICU. |
static BigDecimal |
UniversalTimeScale.toBigDecimal(BigDecimal universalTime,
int timeScale)
Deprecated. This is a draft API and might change in a future release of ICU. |
static BigDecimal |
UniversalTimeScale.toBigDecimalTrunc(BigDecimal universalTime,
int timeScale)
Deprecated. Convert a time in the Universal Time Scale into another time scale. |
Methods in com.ibm.icu.util with parameters of type BigDecimal | |
static BigDecimal |
UniversalTimeScale.bigDecimalFrom(BigDecimal otherTime,
int timeScale)
Deprecated. This is a draft API and might change in a future release of ICU. |
static BigDecimal |
UniversalTimeScale.toBigDecimal(BigDecimal universalTime,
int timeScale)
Deprecated. This is a draft API and might change in a future release of ICU. |
static BigDecimal |
UniversalTimeScale.toBigDecimalTrunc(BigDecimal universalTime,
int timeScale)
Deprecated. Convert a time in the Universal Time Scale into another time scale. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |