public void testConstrStringWithExponentWithPoint2(){
  String a="238096483923847545735673567457356356789029578490276878.7678287e-214";
  int aScale=221;
  BigInteger bA=new BigInteger("2380964839238475457356735674573563567890295784902768787678287");
  BigDecimal aNumber=new BigDecimal(a);
  assertEquals("incorrect value",bA,aNumber.unscaledValue());
  assertEquals("incorrect scale",aScale,aNumber.scale());
}

public void testConstrStringWithExponentWithPoint2 ( ) { String a = "238096483923847545735673567457356356789029578490276878.7678287e-214" ; int aScale = 221 ; BigInteger bA = new BigInteger ( "2380964839238475457356735674573563567890295784902768787678287" ) ; BigDecimal aNumber = new BigDecimal ( a ) ; assertEquals ( "incorrect value" , bA , aNumber . unscaledValue ( ) ) ; assertEquals ( "incorrect scale" , aScale , aNumber . scale ( ) ) ; }
new bigdecimal ( string value ) ; value contains both exponent and decimal point
