• Note on new BigDecimal(String): We tested only Strings without explicit exponent, which java.math.BigDecimal would not be able to handle. You would either have to specify an explicit scale argument for negative exponents, or a trailing substring of decimal zeroes for a positive exponent.