question: public void testIntValueNeg ( ) { String a = "-123809648392384754573567356745735.63567890295784902768787678287E+21" ; BigDecimal aNumber = new BigDecimal ( a ) ; int result = 218520473 ; assertTrue ( "incorrect value" , aNumber . intValue ( ) == result ) ; }
target:  Integer value of a negative BigDecimal