Currently through out MIFOS we use the HALF_EVEN methodology as the rounding mode. We need to make this configurable in the tenant Global Configuration to allow different Rounding Modes like:
UP
DOWN
CEILING
FLOOR
HALF_UP
HALF_DOWN
HALF_EVEN
This will allow the MFI decide the Rounding off methodology most suited to it.
Tested and working as expected
These are the values for this configuration:
0 - UP
1 - DOWN
2 - CEILING
3 - FLOOR
4 - HALF_UP
5 - HALF_DOWN
6 - HALF_EVEN
This configuration is present in the c_configuration table and can be modified from the db alone. (It cannot be modified from the UI)