Code example for BigDecimal

Methods: unscaledValue

	 * @tests java.math.BigDecimal#BigDecimal(java.math.BigInteger, int) 
	public void test_ConstructorLjava_math_BigIntegerI() { 
		BigDecimal big = new BigDecimal(value2, 5);
		assertTrue("the BigDecimal value is not initialized properly", big
				&& big.scale() == 5);
		assertTrue("the BigDecimal value is not represented properly", big
	 * @tests java.math.BigDecimal#BigDecimal(double) 
	public void test_ConstructorD() { 
		BigDecimal big = new BigDecimal(123E04);
				"the BigDecimal value taking a double argument is not initialized properly", 
Connect your IDE to all the code out there  Get Codota for Java