[ 
https://issues.apache.org/jira/browse/FINERACT-2284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18017392#comment-18017392
 ] 

Adam Saghy commented on FINERACT-2284:
--------------------------------------

[~ashokauty] I have modified the story description as your points are correct, 
hopefully now it would make more life likely.
1. yes, whenever we finished with the calculations and "realize" it as monetary 
amount, in multiples of the currency should kick in and in case "in multiples 
of" was set to 1, that means balances must be whole numbers.

2. you are correct, it should be rounded in that case. [~bgowda] What should be 
done if "in multiples of" is 1 (round to whole numbers), but calculated 
interest / charge is lower than $0.5?)

3. all of them

4. currency configutation only

5. Currencies that do not support fractions are called zero-decimal or 
zero-exponent currencies. Examples include the Japanese Yen (JPY), South Korean 
Won (KRW), and Vietnamese Dong (VND), which are transacted in whole units and 
do not have or use a smaller sub-unit like cents or sen.

> 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
>            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)

Reply via email to