← Back to team overview

dhis2-devs team mailing list archive

Re: Handling Decimal Numbers in DHIS2

 

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 1 and -1 we display 2 decimals, for other
values we display 1 decimal. We are thinking of making this more
intelligent by calculating and using the number of significant decimals,
but it should support your needs based on your description.

regards,

Lars



On Mon, Oct 28, 2013 at 12:45 PM, Juma Lungo <jlungo@xxxxxxxxx> wrote:

> 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     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>

Follow ups

References