change data type formula to BigDecimal