Calculate percentage as a float, and round it up to ensure progress bar fills entirely.