| Package | Description |
|---|---|
| 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.
|
| Modifier and Type | Field and Description |
|---|---|
static MathContext |
MathContext.DEFAULT
A
MathContext object initialized to the default
settings for general-purpose arithmetic. |
| Modifier and Type | Method and Description |
|---|---|
BigDecimal |
BigDecimal.abs(MathContext set)
Returns a
BigDecimal whose value is the absolute value
of this BigDecimal. |
BigDecimal |
BigDecimal.add(BigDecimal rhs,
MathContext set)
Returns a
BigDecimal whose value is this+rhs. |
int |
BigDecimal.compareTo(BigDecimal rhs,
MathContext set)
Compares this
BigDecimal to another. |
BigDecimal |
BigDecimal.divide(BigDecimal rhs,
MathContext set)
Returns a
BigDecimal whose value is 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,
MathContext set)
Returns a
BigDecimal whose value is
the maximum 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,
MathContext set)
Returns a
BigDecimal whose value is this*rhs. |
BigDecimal |
BigDecimal.negate(MathContext set)
Returns a
BigDecimal whose value is -this. |
BigDecimal |
BigDecimal.plus(MathContext set)
Returns a
BigDecimal whose value is
+this. |
BigDecimal |
BigDecimal.pow(BigDecimal rhs,
MathContext set)
Returns a
BigDecimal whose value is this**rhs. |
BigDecimal |
BigDecimal.remainder(BigDecimal rhs,
MathContext set)
Returns a
BigDecimal whose value is the remainder of
this/rhs. |
BigDecimal |
BigDecimal.subtract(BigDecimal rhs,
MathContext set)
Returns a
BigDecimal whose value is this-rhs. |
| Modifier and Type | Method and Description |
|---|---|
MathContext |
DecimalFormat.getMathContextICU()
Returns the MathContext
used by this format.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DecimalFormat.setMathContextICU(MathContext newValue)
Sets the MathContext used by this format.
|
Copyright (c) 2009 IBM Corporation and others.