|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use MathContext | |
---|---|
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. |
Uses of MathContext in com.ibm.icu.math |
---|
Fields in com.ibm.icu.math declared as MathContext | |
---|---|
static MathContext |
MathContext.DEFAULT
A MathContext object initialized to the default
settings for general-purpose arithmetic. |
Methods in com.ibm.icu.math with parameters of type MathContext | |
---|---|
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 . |
Uses of MathContext in com.ibm.icu.text |
---|
Methods in com.ibm.icu.text that return MathContext | |
---|---|
MathContext |
DecimalFormat.getMathContextICU()
[icu] Returns the MathContext used by this format. |
Methods in com.ibm.icu.text with parameters of type MathContext | |
---|---|
void |
DecimalFormat.setMathContextICU(MathContext newValue)
[icu] Sets the MathContext used by this format. |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |