Constructs aBigDecimal whose value is equal to that of the specifiedInteger value.
Constructs aBigDecimal whose value is equal to that of the specifiedInteger value.
the specified integer value
the constructedBigDecimal
Constructs aBigDecimal whose value is equal to that of the specifiedInteger value, rounding if necessary.
Constructs aBigDecimal whose value is equal to that of the specifiedInteger value, rounding if necessary.
the specified integer value
the precision and rounding mode for creation of this value and future operations on it
the constructedBigDecimal
Constructs aBigDecimal whose value is equal to that of the specified long value.
Constructs aBigDecimal whose value is equal to that of the specified long value.
the specified long value
the constructedBigDecimal
Constructs aBigDecimal whose value is equal to that of the specified long value, but rounded if necessary.
Constructs aBigDecimal whose value is equal to that of the specified long value, but rounded if necessary.
the specified long value
the precision and rounding mode for creation of this value and future operations on it
the constructedBigDecimal
Constructs aBigDecimal whose unscaled value is equal to that of the specified long value.
Constructs aBigDecimal whose unscaled value is equal to that of the specified long value.
the scale
the value
the constructedBigDecimal
Constructs aBigDecimal whose unscaled value is equal to that of the specified long value, but rounded if necessary.
Constructs aBigDecimal whose unscaled value is equal to that of the specified long value, but rounded if necessary.
the precision and rounding mode for creation of this value and future operations on it
the scale
the value
the constructedBigDecimal
Constructs aBigDecimal whose value is equal to that of the specified double value.
Constructs aBigDecimal whose value is equal to that of the specified double value. Equivalent toBigDecimal.decimal.
the specifiedDouble value
the constructedBigDecimal
Constructs aBigDecimal whose value is equal to that of the specified double value, but rounded if necessary.
Constructs aBigDecimal whose value is equal to that of the specified double value, but rounded if necessary. Equivalent toBigDecimal.decimal.
the specifiedDouble value
the precision and rounding mode for creation of this value and future operations on it
the constructedBigDecimal
Translates a character array representation of aBigDecimal into aBigDecimal.
Translates a character array representation of aBigDecimal into aBigDecimal.
Translates a character array representation of aBigDecimal into aBigDecimal, rounding if necessary.
Translates a character array representation of aBigDecimal into aBigDecimal, rounding if necessary.
Translates the decimal String representation of aBigDecimal into aBigDecimal.
Translates the decimal String representation of aBigDecimal into aBigDecimal.
Translates the decimal String representation of aBigDecimal into aBigDecimal, rounding if necessary.
Translates the decimal String representation of aBigDecimal into aBigDecimal, rounding if necessary.
Constructs aBigDecimal whose value is equal to that of the specifiedBigInt value.
Constructs aBigDecimal whose value is equal to that of the specifiedBigInt value.
the specifiedBigInt value
the constructedBigDecimal
Constructs aBigDecimal whose value is equal to that of the specifiedBigInt value, rounding if necessary.
Constructs aBigDecimal whose value is equal to that of the specifiedBigInt value, rounding if necessary.
the precision and rounding mode for creation of this value and future operations on it
the specifiedBigInt value
the constructedBigDecimal
Constructs aBigDecimal whose unscaled value is equal to that of the specifiedBigInt value.
Constructs aBigDecimal whose unscaled value is equal to that of the specifiedBigInt value.
the scale
the specifiedBigInt value
the constructedBigDecimal
Constructs aBigDecimal whose unscaled value is equal to that of the specifiedBigInt value.
Constructs aBigDecimal whose unscaled value is equal to that of the specifiedBigInt value.
the precision and rounding mode for creation of this value and future operations on it
the scale
the specifiedBigInt value
the constructedBigDecimal
Constructs aBigDecimal from ajava.math.BigDecimal.
Constructs aBigDecimal by expanding the binary fraction contained byDouble valued into a decimal representation, rounding if necessary.
Constructs aBigDecimal by expanding the binary fraction contained byDouble valued into a decimal representation, rounding if necessary. When aFloat is converted to aDouble, the binary fraction is preserved, so this method also works for convertedFloats.
Constructs aBigDecimal by expanding the binary fraction contained byDouble valued into a decimal representation.
Constructs aBigDecimal by expanding the binary fraction contained byDouble valued into a decimal representation. Note: this also works correctly on convertedFloats.
Constructs aBigDecimal using the decimal text representation ofDouble valued, rounding if necessary.
Constructs aBigDecimal using the decimal text representation ofDouble valued, rounding if necessary.
Constructs aBigDecimal using the decimal text representation ofDouble valued.
Constructs aBigDecimal using the decimal text representation ofDouble valued.
Constructs aBigDecimal using the decimal text representation ofFloat valuef, rounding if necessary.
Constructs aBigDecimal using the decimal text representation ofFloat valuef, rounding if necessary. Note thatBigDecimal.decimal(0.1f) != 0.1f since equality agrees with theDouble representation, and0.1 != 0.1f.
Constructs aBigDecimal using the decimal text representation ofFloat valuef.
Constructs aBigDecimal using the decimal text representation ofFloat valuef. Note thatBigDecimal.decimal(0.1f) != 0.1f since equality agrees with theDouble representation, and0.1 != 0.1f.
Constructs aBigDecimal from aLong, rounding if necessary.
Constructs aBigDecimal from aLong, rounding if necessary. This is identical toBigDecimal(l, mc).
Constructs aBigDecimal from aLong.
Constructs aBigDecimal from aLong. This is identical toBigDecimal(l).
Constructs aBigDecimal using ajava.math.BigDecimal, rounding if necessary.
Constructs aBigDecimal using ajava.math.BigDecimal, rounding if necessary.
Constructs aBigDecimal from ajava.math.BigDecimal.
Constructs aBigDecimal from ajava.math.BigDecimal. The precision is the default forBigDecimal or enough to represent thejava.math.BigDecimal exactly, whichever is greater.
Constructs aBigDecimal by fully expanding the binary fraction contained byDouble valued, adjusting the precision as necessary.
Constructs aBigDecimal by fully expanding the binary fraction contained byDouble valued, adjusting the precision as necessary. Note: this works correctly on convertedFloats also.
Constructs aBigDecimal that exactly represents aBigInt.
Constructs aBigDecimal that exactly represents aLong.
Constructs aBigDecimal that exactly represents aLong. Note that all creation methods forBigDecimal that do not take aMathContext represent aLong; this is equivalent toapply,valueOf, etc..
Constructs aBigDecimal that exactly represents the number specified in aString.
Constructs aBigDecimal that exactly represents the number specified in aString.
Constructs aBigDecimal that exactly represents the number specified in base 10 in a character array.
Constructs aBigDecimal that exactly represents the number specified in base 10 in a character array.
Constructs aBigDecimal using the java BigDecimal static valueOf constructor.
Constructs aBigDecimal using the java BigDecimal static valueOf constructor. Equivalent toBigDecimal.decimal.
the specified double value
the constructedBigDecimal
Constructs aBigDecimal using the java BigDecimal static valueOf constructor.
Constructs aBigDecimal using the java BigDecimal static valueOf constructor.
the specifiedLong value
the constructedBigDecimal
Implicit conversion fromDouble toBigDecimal.
Implicit conversion fromInt toBigDecimal.
Implicit conversion fromjava.math.BigDecimal toscala.BigDecimal.
Implicit conversion fromLong toBigDecimal.