Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void testBigIntegerStrings(){
- BigInteger b1 = new BigInteger("1234567890123456789123456789");
- BigInteger b2 = new BigInteger("1234567890123456789123456789");
- addL(b1,b2);
- }
- private String addL(BigInteger b1, BigInteger b2) {
- return b1.add(b2).toString();
- }
Add Comment
Please, Sign In to add comment