Use BigDecimal as opposed to floats