Switching double type for BigDecimal