DEV Community

loading...

Discussion on: Daily Challenge #119 - Adding Big Numbers

Collapse
ujaehrig profile image
ujaehrig

Java


import java.math.BigDecimal;

class Adder {
    public static String add(String arg1, String arg2) {
        return new BigDecimal(arg1).add(new BigDecimal(arg2)).toString();
    }
}