The members of Java.Math.BigDecimal are listed below.
See Also: Inherited members from Java.Lang.Number
Constructs a new BigDecimal instance from the given big integer val. | ||
BigDecimal(char[]) | Constructs a new BigDecimal instance from a string representation given as a character array. | |
Constructs a new BigDecimal instance from the 64bit double val. | ||
Constructs a new BigDecimal instance from the given int val. | ||
Constructs a new BigDecimal instance from the given long val. | ||
Constructs a new BigDecimal instance from a string representation. | ||
Constructs a new BigDecimal instance from the given big integer val. | ||
Constructs a new BigDecimal instance from a given unscaled value unscaledVal and a given scale. | ||
Constructs a new BigDecimal instance from a string representation given as a character array. | ||
Constructs a new BigDecimal instance from the 64bit double val. | ||
Constructs a new BigDecimal instance from the given int val. | ||
Constructs a new BigDecimal instance from the given long val. | ||
Constructs a new BigDecimal instance from a string representation. | ||
Constructs a new BigDecimal instance from a given unscaled value unscaledVal and a given scale. | ||
Constructs a new BigDecimal instance from a string representation given as a character array. | ||
Constructs a new BigDecimal instance from a string representation given as a character array. |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
const | RoundCeiling | RoundOptions (2). Rounding mode to round towards positive infinity. |
const | RoundDown | RoundOptions (1). Rounding mode where the values are rounded towards zero. |
const | RoundFloor | RoundOptions (3). Rounding mode to round towards negative infinity. |
const | RoundHalfDown | RoundOptions (5). Rounding mode where values are rounded towards the nearest neighbor. |
const | RoundHalfEven | RoundOptions (6). Rounding mode where values are rounded towards the nearest neighbor. |
const | RoundHalfUp | RoundOptions (4). Rounding mode where values are rounded towards the nearest neighbor. |
const | RoundUnnecessary | RoundOptions (7). Rounding mode where the rounding operations throws an ArithmeticException for the case that rounding is necessary, i.e. for the case that the value cannot be represented exactly. |
const | RoundUp | RoundOptions (0). Rounding mode where positive values are rounded towards positive infinity and negative values towards negative infinity. |
[read-only] static | One | BigDecimal. The constant one as a BigDecimal. |
[read-only] static | Ten | BigDecimal. The constant ten as a BigDecimal. |
[read-only] static | Zero | BigDecimal. The constant zero as a BigDecimal. |
[read-only] override | ThresholdClass | IntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
[read-only] override | ThresholdType | Type. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
Abs()Returns a BigDecimal whose value is the absolute value of this. | ||
Abs(MathContext)Returns a BigDecimal whose value is the absolute value of this. | ||
Add(BigDecimal)Returns a new BigDecimal whose value is this + augend. | ||
Add(BigDecimal, MathContext)Returns a new BigDecimal whose value is this + augend. | ||
ByteValueExact()Returns this BigDecimal as a byte value if it has no fractional part and if its value fits to the byte range ([-128. | ||
CompareTo(BigDecimal)Compares this BigDecimal with val. | ||
Divide(BigDecimal)Returns a new BigDecimal whose value is this / divisor. | ||
Divide(BigDecimal, MathContext)Returns a new BigDecimal whose value is this / divisor. | ||
Divide(BigDecimal, RoundingMode)Returns a new BigDecimal whose value is this / divisor. | ||
Divide(BigDecimal, RoundOptions)Returns a new BigDecimal whose value is this / divisor. | ||
Divide(BigDecimal, int, RoundingMode)Returns a new BigDecimal whose value is this / divisor. | ||
Divide(BigDecimal, int, RoundOptions)Returns a new BigDecimal whose value is this / divisor. | ||
DivideAndRemainder(BigDecimal)Returns a BigDecimal array which contains the integral part of this / divisor at index 0 and the remainder this % divisor at index 1. | ||
DivideAndRemainder(BigDecimal, MathContext)Returns a BigDecimal array which contains the integral part of this / divisor at index 0 and the remainder this % divisor at index 1. | ||
DivideToIntegralValue(BigDecimal)Returns a new BigDecimal whose value is the integral part of this / divisor. | ||
DivideToIntegralValue(BigDecimal, MathContext)Returns a new BigDecimal whose value is the integral part of this / divisor. | ||
override | DoubleValue()Returns this BigDecimal as a double value. | |
override | FloatValue()Returns this BigDecimal as a float value. | |
override | IntValue()Returns this BigDecimal as an int value. | |
IntValueExact()Returns this BigDecimal as a int value if it has no fractional part and if its value fits to the int range ([-231. | ||
override | LongValue()Returns this BigDecimal as an long value. | |
LongValueExact()Returns this BigDecimal as a long value if it has no fractional part and if its value fits to the int range ([-263. | ||
Max(BigDecimal)Returns the maximum of this BigDecimal and val. | ||
Min(BigDecimal)Returns the minimum of this BigDecimal and val. | ||
MovePointLeft(int)Returns a new BigDecimal instance where the decimal point has been moved n places to the left. | ||
MovePointRight(int)Returns a new BigDecimal instance where the decimal point has been moved n places to the right. | ||
Multiply(BigDecimal)Returns a new BigDecimal whose value is this * multiplicand. | ||
Multiply(BigDecimal, MathContext)Returns a new BigDecimal whose value is this * multiplicand. | ||
Negate()Returns a new BigDecimal whose value is the -this. | ||
Negate(MathContext)Returns a new BigDecimal whose value is the -this. | ||
Plus()Returns a new BigDecimal whose value is +this. | ||
Plus(MathContext)Returns a new BigDecimal whose value is +this. | ||
Pow(int)Returns a new BigDecimal whose value is thisn. | ||
Pow(int, MathContext)Returns a new BigDecimal whose value is thisn. | ||
Precision()Returns the precision of this BigDecimal. | ||
Remainder(BigDecimal)Returns a new BigDecimal whose value is this % divisor. | ||
Remainder(BigDecimal, MathContext)Returns a new BigDecimal whose value is this % divisor. | ||
Round(MathContext)Returns a new BigDecimal whose value is this, rounded according to the passed context mc. | ||
Scale()Returns the scale of this BigDecimal. | ||
ScaleByPowerOfTen(int)Returns a new BigDecimal whose value is this * 10n. | ||
SetScale(int)Returns a new BigDecimal instance with the specified scale. | ||
SetScale(int, RoundingMode)Returns a new BigDecimal instance with the specified scale. | ||
SetScale(int, RoundOptions)Returns a new BigDecimal instance with the specified scale. | ||
ShortValueExact()Returns this BigDecimal as a short value if it has no fractional part and if its value fits to the short range ([-215. | ||
Signum()Returns the sign of this BigDecimal. | ||
StripTrailingZeros()Returns a new BigDecimal instance with the same value as this but with a unscaled value where the trailing zeros have been removed. | ||
Subtract(BigDecimal)Returns a new BigDecimal whose value is this - subtrahend. | ||
Subtract(BigDecimal, MathContext)Returns a new BigDecimal whose value is this - subtrahend. | ||
ToBigInteger()Returns this BigDecimal as a big integer instance. | ||
ToBigIntegerExact()Returns this BigDecimal as a big integer instance if it has no fractional part. | ||
ToEngineeringString()Returns a string representation of this BigDecimal. | ||
ToPlainString()Returns a string representation of this BigDecimal. | ||
Ulp()Returns the unit in the last place (ULP) of this BigDecimal instance. | ||
UnscaledValue()Returns the unscaled value (mantissa) of this BigDecimal instance as a BigInteger. | ||
static | ValueOf(double)Returns a new BigDecimal instance whose value is equal to val. | |
static | ValueOf(long)Returns a new BigDecimal instance whose value is equal to unscaledVal. | |
static | ValueOf(long, int)Returns a new BigDecimal instance whose value is equal to unscaledVal * 10-scale). |
Java.Lang.IComparable.CompareTo | Documentation for this section has not yet been entered. |