Converting percent_complete to integer before returning to the UI so the calculation doesn't get messed up with the * 100 (since there is an issue with floating point multiplication e.g. (12.0/22.0).round(2) * 100)