nic-delhi / AarogyaSetu_Android

Aarogya Setu Android app native code
https://www.aarogyasetu.gov.in/
Other
2.89k stars 1.95k forks source link

Percentage calculation error #363

Closed navin240 closed 4 years ago

navin240 commented 4 years ago

The percentage of death ratio and recovery ratio is calculated wrong.

Josephdias92 commented 4 years ago

upload screenshot please

navin240 commented 4 years ago

1590832719508 1590832777463 1590832868185

aishmittal commented 4 years ago

The percentage of ratios calculated are correct.
Just use this formula to calculate the percentage change: Increase = New Number - Original Number % increase = Increase ÷ Original Number × 100

navin240 commented 4 years ago

@aishmittal can you please show the above calculation of Maharashtra's recovery rate

aishmittal commented 4 years ago

@navin240 Here is the calculation Increase = New Number - Original Number 8381 = 26997 - Original Number Original Number = 26997 - 8381 = 18616 % Increase = (Increase/Orignal Number)100 = (8381/18616)100 = 45.02 %