public void testToEngineeringStringNeg(){
  String a="-123809648392384754573567356745735.63567890295784902768787678287E-501";
  BigDecimal aNumber=new BigDecimal(a);
  String result="-123.80964839238475457356735674573563567890295784902768787678287E-471";
  assertEquals("incorrect value",result,aNumber.toEngineeringString());
}

public void testToEngineeringStringNeg ( ) { String a = "-123809648392384754573567356745735.63567890295784902768787678287E-501" ; BigDecimal aNumber = new BigDecimal ( a ) ; String result = "-123.80964839238475457356735674573563567890295784902768787678287E-471" ; assertEquals ( "incorrect value" , result , aNumber . toEngineeringString ( ) ) ; }
convert a negative bigdecimal to an engineering string representation
