[java] Set specific precision of a BigDecimal