[
https://issues.apache.org/jira/browse/FINERACT-2284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18069655#comment-18069655
]
Dhananjay Bhagat edited comment on FINERACT-2284 at 3/30/26 6:06 PM:
---------------------------------------------------------------------
Thanks [~adamsaghy]! I am working on this issue now.
Currently, the system rounds 0.5 to 0 when digitsAfterDecimal = 0 and
inMultiplesOf = 1, which is mathematically consistent with the rounding rules
while attaching a Flat charge to a Loan.
However, this results in a charge being effectively ignored (amount = 0 while
charge exists for a Loan).
Are these *zero-value* charges acceptable and expected behavior or should a
minimum charge of 1 be enforced in such cases?
was (Author: JIRAUSER312255):
Thanks [~adamsaghy]! I am working on this issue now.
> Charge should check Money inMultiplesOf settings and enforce it!
> ----------------------------------------------------------------
>
> Key: FINERACT-2284
> URL: https://issues.apache.org/jira/browse/FINERACT-2284
> Project: Apache Fineract
> Issue Type: New Feature
> Affects Versions: 1.12.1
> Reporter: Adam Saghy
> Assignee: Ashok Auty
> Priority: Major
>
> Charge should check Money inMultiplesOf settings and enforce it!
> Issue:
> - Currency set 1 multiples of.
> - Charge with amount that is not multiple of 1 should be rounded based on
> rounding mode!
> *Example*
> - Currency set 1 multiples of.
> - Add charge with amount of $19.8, should be rounded to $20!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)