How to round program indicator results?

Dear DHIS2 community, in dhis2 2.35.12 version . For example, if I have two Data Elements

  1. Number of male in the House =5
  2. Number of Female in the house =6
    Total number as an indicator=11/2= 5.5 so how can i round 5.5 to 6 in the system
    thanks

Hi @musasuso :wave:

If you are using an indicator or program indicator there is a field called decimals in data output, if you set this to 0 it will round your result to the nearest whole number :+1:

Best,
Pete

1 Like

Dear @musasuso,

Please follow the variable naming rules as shown here

Update all existing program variables accordingly.

Regards, Ulanbek

1 Like