#set($percent = (($totalSponsored*1.0) / ($totalAppliesAllJobs*1.0))*100)
In the above way it will become decimal/decimal which gives the ratio. Multiple it with 100 for percentage.