Precision of final result with BigDecimal

Final calculated result precision is fixed using BigDecimal.
However, does not erase trailing decimal zeros.