dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #03029
[Bug 341026] Re: Indicator>>Zero value in denominator/numerator
We are using JEP for calculating mathematical expressions. JEP returns
INFINITY when division by zero occurs, which we handle gracefully in the
code.
** Changed in: dhis2
Status: New => Fix Committed
** Changed in: dhis2
Assignee: (unassigned) => Lars Helge Øverland (larshelge)
--
Indicator>>Zero value in denominator/numerator
https://bugs.launchpad.net/bugs/341026
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
Status in DHIS 2 - District Health Information Software: Fix Committed
Bug description:
Browser - Firefox 3
/dhis-web-maintenance-datadictionary/index.action
Data Elements and Indicators>>Indicator>>Add New>>Edit numerator
Data Elements and Indicators>>Indicator>>Add New>>Edit denominator
Formula accepts division/multiplication by Zero. This may leads to unexpected values and error in calculation.
References