question: public void testLongValuePos ( ) { String a = "123809648392384754573567356745735.63567890295784902768787678287E+21" ; BigDecimal aNumber = new BigDecimal ( a ) ; long result = 1246043477766677607L ; assertTrue ( "incorrect value" , aNumber . longValue ( ) == result ) ; }
target:  Long value of a positive BigDecimal