> I see two options that allow the user to configure the number of > digits before the decimal: > > AccountingRules.DigitsBeforeDecimal=7 > AccountingRules.DigitsBeforeDecimalForInterest=10 > > My understanding was that there is a ceiling on how many digits Mifos > will handle before the decimal. Are the above values the ceiling?
Yes. > Would we ever expect a user to reduce the number of digits before the > decimal in a custom configuration setting? If they did, what would > this achieve? These are limits that are set on user input. In the Mifos UI a user will be prevented from entering more digits than this to the left of the decimal separator. Prior to the configuration project these limits were hard coded with the values currently in the default config file. Now they have been pulled out into configuration settings. I haven't seen any documented use cases, but I was imagining that this would be used to enforce an upper limit on values that an end user could enter into the system. Kim can correct me if I'm wrong on any of this or add to it if there is more relevant detail. > I'm trying to understand this configuration setting both from the > perspective of a tester who needs to write test cases that exercise > this functionality, but also from the perspective of an MFI or Mifos > Specialist configuring Mifos. To me, it seems like this is > unnecessary configuration for a user to specify (and if that's the > case, it should not be in the file). If there are no use cases for it, then it could certainly be removed. Note that to remove it cleanly would entail code changes other than just removing from the config file. It would be good to understand what use cases there are (if any) from the functional perspective. --Van ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
