Decimal #s Problem

Hi

If i define a dataelement, assign it to a dataset, then when ever i enter decimal numbers like 23.4 i get 23 in reporttable, 23.7 would return 24.

May i ask once more, is there a way i can get the values correctly?

NB: Constants get displayed correctly though, unfortunately i cannot assign constant to data sets.

Lungo

Hi Lungo,

you should definitely not get discrete numbers. Can you point me to
the DHIS instance where this happens?

Lars

···

On Sun, Apr 22, 2012 at 7:08 PM, Juma Lungo <jlungo@yahoo.com> wrote:

Hi

If i define a dataelement, assign it to a dataset, then when ever i enter
decimal numbers like 23.4 i get 23 in reporttable, 23.7 would return 24.

May i ask once more, is there a way i can get the values correctly?

NB: Constants get displayed correctly though, unfortunately i cannot assign
constant to data sets.

Lungo

_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp

I tried to reproduce this, but could not. I have seen funny things
happen the other way, with integers becoming decimals especially when
aggregating months to quarters.

You probably need to provide more information, like which version you
are using and the periodicity of the dataset.

Regards,
Jason

···

2012/4/23 Lars Helge Øverland <larshelge@gmail.com>:

Hi Lungo,

you should definitely not get discrete numbers. Can you point me to
the DHIS instance where this happens?

Lars

On Sun, Apr 22, 2012 at 7:08 PM, Juma Lungo <jlungo@yahoo.com> wrote:

Hi

If i define a dataelement, assign it to a dataset, then when ever i enter
decimal numbers like 23.4 i get 23 in reporttable, 23.7 would return 24.

May i ask once more, is there a way i can get the values correctly?

NB: Constants get displayed correctly though, unfortunately i cannot assign
constant to data sets.

Lungo

_______________________________________________
Mailing list: DHIS 2 developers in Launchpad
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : DHIS 2 developers in Launchpad
More help : ListHelp - Launchpad Help

_______________________________________________
Mailing list: DHIS 2 developers in Launchpad
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : DHIS 2 developers in Launchpad
More help : ListHelp - Launchpad Help