Re: [Dhis2-devs] Handling Decimal Numbers in DHIS2

2013-12-09 Thread Lars Helge Øverland
Okay fine. Blueprint here: https://blueprints.launchpad.net/dhis2/+spec/analytics-skip-rounding-option Put up for 2.15 for now. Lars On Tue, Dec 3, 2013 at 9:43 PM, Juma Lungo jlu...@yahoo.com wrote: Hi Lars, this sound excellent. If we can control the number of decimal points to be

Re: [Dhis2-devs] Handling Decimal Numbers in DHIS2

2013-12-09 Thread Juma Lungo
Thanks Lars However, we have solved the Decimal issue by introducing variables in iReport and apply Math.round function to the variables. The problem is now solved, though it required investiment of extra energy. Lungo On Monday, December 9, 2013 8:05 PM, Lars Helge Øverland

Re: [Dhis2-devs] Handling Decimal Numbers in DHIS2

2013-12-03 Thread Juma Lungo
Hi Lars, this sound excellent. If we can control the number of decimal points to be displayed as you described here. We will go for zero decimal places or two decimal places. Lungo On Monday, December 2, 2013 2:25 PM, Lars Helge Øverland larshe...@gmail.com wrote: Okay Lungo, I

Re: [Dhis2-devs] Handling Decimal Numbers in DHIS2

2013-12-02 Thread Lars Helge Øverland
Okay Lungo, I understand. The issue is that in most cases, 1 decimal is appropriate. Then, some people want no decimals and some want no rounding at all. I assume your use-case is that you save a pivot table (report table) as a favorite, then use it as source for a financial standard report

Re: [Dhis2-devs] Handling Decimal Numbers in DHIS2

2013-12-02 Thread Adebusoye Anifalaje
Hi Lars, Thanks for this. Can this also be applied to the data entry screen and data set reports? If you consider a use case that deals with data ranging from 0 - 1. rounding up or down makes the difference quite significant. This would be a very useful function and would like to request

Re: [Dhis2-devs] Handling Decimal Numbers in DHIS2

2013-12-02 Thread Lars Helge Øverland
Hi Busoye, in fact the situation is not that the database converts the numbers. The system simply stores whatever you enter. But the aggregate data is being rounded off before presented through the API. So there should be no need to modify data entry as such. cheers Lars On Mon, Dec 2, 2013

Re: [Dhis2-devs] Handling Decimal Numbers in DHIS2

2013-12-01 Thread Lars Helge Øverland
Hi Lungo, do you think you explain a bit more what you want here? Ie, do you refer to saving data values in data entry, or getting aggregated indicator data in analysis modules like pivot table? Currently, the rules for decimals (which are admittedly a bit simplistic) are that for values between

Re: [Dhis2-devs] Handling Decimal Numbers in DHIS2

2013-12-01 Thread Lars Helge Øverland
For a pivot table example see here: http://apps.dhis2.org/demo/api/reportTables/KmJwftqlU86/data.html ___ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-devs More

Re: [Dhis2-devs] Handling Decimal Numbers in DHIS2

2013-12-01 Thread Juma Lungo
Dear Lars Since we are using the DHIS2 to compute financial figures, we need to display the values either in two decimal places or zero decimal places. Not one decimal places. Now, if we format our iReports to zero decimal places, when a user enters say 6.47, the database will convert it into

[Dhis2-devs] Handling Decimal Numbers in DHIS2

2013-10-28 Thread Juma Lungo
Dear all, Can someone remind me how to allow/save decimal numbers in DHIS2 PostgresSQL database. When an indicator value is 87.7 the system just displays 87. Lungo ___ Mailing list: https://launchpad.net/~dhis2-devs Post to :