I don't like such big oneliner I prefer this form
```
integer total_count = total_count_to_install + total_count_to_download;
downloading_pct = total_count == 0 ? 0 : 100*total_count_to_download/total_count;
```