|
>>f you see the Savings account API the response returned contains the balance of the account, if the balance is 5000 it returns 5000 but if the balance is 5000.25 it returns 5000.25
The API returns the number without any formatting. so any number 5000.87878776 or 5000 or 5000.80 are returned as is.
The Client should read the data in any format suitable for its manipulation. Since the andriod app is a java app, you could write a wrapper similar to https://github.com/openMF/mifosx/blob/develop/mifosng-provider/src/main/java/org/mifosplatform/infrastructure/core/serialization/JsonParserHelper.java#L100
|