Safik,

I'm responding to the mifos-users list so the entire community can help
with a response.

There is another similar question that Thomas asked about rounding up to
the nearest 50.
https://groups.google.com/d/topic/mifosusers/UNMM-Gso3ao/discussion

There Ryan suggests for rounding before the decimal you would state a
negative number in your configuration file.

In your case try setting the number of digits after decimal to -3. You can
do this by changing setting AccountingRules.DigitsAfterDecimal in your
configuration file to -3.

Here's a direct link to instructions in the configuration guide:
http://mifos.org/documentation/configuration#number-of-digits-after-decimal

I would caution though that rounding before the decimal settings have not
been fully tested and this might cause bugs. The majority of rounding
precision we've worked with is for digits after the decimal.

Please view the above link to the config guide and these two functional
spec pages for more on rounding in Mifos, with details on rounding
precision, etc. :

Currency and Rounding Rules:
http://mifos.org/functional-specifications/mifos-system-setup/currency-and-rounding-rules
Rounding Rules for Loan Payment Schedules:
http://mifos.org/functional-specifications/system-processing/rounding-rules-loan-payment-schedules
.
Thanks,

Ed




On Tue, Jan 24, 2012 at 12:14 AM, Safik Omara <safik....@gmail.com> wrote:

> for ED,
> I want to ask a question about rounding in Mifos,
> I am very thankful if YOU give a little explanation of rounding off
> numbers before commas
> Now we use Rupiah (IDR), for example
>
>
> we will round the value of 165,600 to 166,000
> how to set the rounding before the decimal can be done
>
> please reply my mail
>
> Terimakasih,
> =====================================================================
> Salam Hormat
>
>
> Safik Omara
>
>
>
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Mifos-users mailing list
Mifos-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mifos-users

Reply via email to