Change By: keithwoodlock (12/Jun/13 4:02 AM)
Description: Currently both fees and loan schedules are rounded to zero, one or 2 decimals. In a lot of countries (such as Tanzania where 100TZS equals 0,06$) this is not enough. Is it possible to features to allow rounding to 10's, 100's or 1000's? A possible solution could be to save it as a negative number of decimals in the current decimal field in the product/charge tables.

Whilst a negative decimals approach might work to product multiples to the power of 10, if you wanted multiples of 20's, or 50's then I think the best way is to use the Ceiling and Floor functions like in excel to produce valid multiples.

right now I am thinking of supporting and extra parameter to be used with Money if zero decimal places is selected for currency to allow user to define in what multiples to round towards.
 
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues

Reply via email to