Removed unnecessary float() when calculating task completion percentages