Decimal in indicator output

Hello, I have this problem. When creating an indicator, the sum of decimal fractions is rounded, but I need it without rounding. For example: 5.5+5.25=10.8 but in fact the result should be 10.75

Hi Maks
I assume that you are wanting to use these calculations as a Count Indicator, and not a derived indicator with a numerator and denominator?
The rounding is automatic, but if you specify that you want 2 decimal points, it should give you the 10.75 that you are looking for. If you do not set the desired decimal points, it will automatically round up the values.
Hope this helps you
Norah

Hello, I have this problem. When creating an indicator, the sum of decimal fractions is rounded, but I need it without rounding. For example: 5.5+5.25=10.8 but in fact the result should be 10.75

Hi @Islan_Kalysbekov ,
This can be adjusted with the “Decimals in data output” parameter for each indicator. Choose your indicator which should have decimals in the maintenance app, and then specify two (in this case). The default is zero.

Best regards,
Jason

2 Likes

image
image
did everything as you said, but the result is the same, screenshots were taken below

select the decimal in the data input drop-down field, as you can choose the number of decimals number from the list down.

Good Luck

Hi dear community,

Thank you for your suggestions and support.
The problem is the dataSet collecting form automatically rounding the indicator’s result. The indicator calculated perfectly fine, but dataset form displays it rounded. Is there any way to set number of decimal digits to be displayed?
As an example you can check DataEntry form for EPI Stock on DHIS 2 Demo - Sierra Leone

As you can see here is calculated indicator (End Balance) automatically getting rounded. How it can be adjusted and displayed with 2 decimal digits?

Thank you.
Regard,
Ulanbek

1 Like