Skip to content

Commit

Permalink
[VAS-1167] feat: Updated checks on float value
Browse files Browse the repository at this point in the history
  • Loading branch information
alessio-cialini committed Jul 10, 2024
1 parent 5d6f6d6 commit ad8dfeb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ public static boolean isCartMod1(BizEvent bizEvent) {
return bizEvent.getTransactionDetails() != null &&
new BigDecimal(bizEvent.getPaymentInfo().getAmount()).subtract(
formatEuroCentAmount(bizEvent.getTransactionDetails().getTransaction().getAmount()))
.intValue() == 0;
.floatValue() == 0;
}
return true;
}
Expand Down

0 comments on commit ad8dfeb

Please sign in to comment.