Skip to content

Commit

Permalink
P1 formula round off
Browse files Browse the repository at this point in the history
  • Loading branch information
deepikaarora88 committed Mar 21, 2024
1 parent c3ddbfd commit 1da5a12
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ else if (calulationCriteria.getFeeType().equalsIgnoreCase(BPACalculatorConstants
BigDecimal boundayWallLength=new BigDecimal(node.get("boundaryWallLength"));
BigDecimal area=new BigDecimal(node.get("area"));

totalTax=boundayWallLength.multiply(BigDecimal.valueOf(2.5)).add(area.multiply(BigDecimal.valueOf(9)).multiply(BigDecimal.valueOf(2.5)));
totalTax=boundayWallLength.multiply(BigDecimal.valueOf(2.5)).add(area.multiply(BigDecimal.valueOf(2.5)));
estimate.setEstimateAmount(totalTax.setScale(0, RoundingMode.HALF_UP));
estimate.setCategory(Category.FEE);

Expand Down

0 comments on commit 1da5a12

Please sign in to comment.