Make Rounding Mode as configurable throughout Mifos

Description

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.

Environment

None

Activity

Show:
SSN
September 4, 2015, 2:35 AM

Tested and working as expected

Rahul Shah
September 11, 2015, 3:20 AM

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)

Fixed

Assignee

SSN

Reporter

Rahul Shah

Labels

None

Implementation Priority

Should

URL

None

Story Points

None

Team

Core

productboard URL

None

Man Day Estimate

None

Components

Fix versions

Affects versions

Priority

Minor
Configure