added rounding to multiples of a decimal

modifications as per the comments
Merge pull request #518 from pramodn02/MIFOSX-433

Mifosx 433