Replace Float with BigDecimal for the calulation of the costs