adamsaghy commented on code in PR #4837:
URL: https://github.com/apache/fineract/pull/4837#discussion_r2213083477
##########
fineract-core/src/main/java/org/apache/fineract/portfolio/savings/domain/interest/PostingPeriod.java:
##########
@@ -104,12 +127,14 @@ public static PostingPeriod createFrom(final
LocalDateInterval periodInterval, f
// period so no need to do any cropping/bounding
final EndOfDayBalance endOfDayBalance =
transaction.toEndOfDayBalance(openingDayBalance);
accountEndOfDayBalances.add(endOfDayBalance);
+ endOfDayBalance.setDecimals(currency.getDigitsAfterDecimal());
Review Comment:
Use Money object, not explicit random scaling!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]