← Back to team overview

dhis2-devs team mailing list archive

Rounding Off or Rounding Down Indicator Values

 

 

I have task that I am working on Indicators.

 

In the Edit numerator screen, refer to the “formula” section.

 

Scenario:   We have a population indicator which is calculated. At the moment the values we  are getting are giving us decimals but the population indicator value should be a long integer (rounded-off* or rounded-down).

 

 

 

Current Population Indicator values (with decimals)

 

cid:image001.png@01D012D9.6D3DBC30

 

What can be done to DHIS2  code in-order to add an option to have an Indicator with strictly integers(whole number) values (rounded-off)?

Which DHIS2 modules and DHIS2 code files can this functionality  be added to?

 

 

 

Kind Regards,

 

Arthur  Gwatidzo

 

Description: cid:image001.png@01CCADE7.1D5397D0

Software Development and Information Systems 

Health Information Systems Program

-----------------------------------------------

Email:   arthur.g@xxxxxxxx

Cell:      +27(0)768983930 or +27(0)0730966325

Skype:  Arthur.Gwatidzo

Web:     <http://www.hisp.org/> http://www.hisp.org

 

66 Rigel Avenue North, Waterkloof Ridge
Pretoria, 0181
South Africa
E -25.7847787 S 28.2347984

This message may contain privileged and confidential information intended only for the person or entity to which it is addressed. Any review, retransmission, dissemination, copy or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient, is prohibited. If you received this message in error, please notify the sender immediately by e-mail, facsimile or telephone and thereafter delete the material from any computer. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the view of the entity transmitting the message.

 

PNG image

PNG image

PNG image